fix attachment path

This commit is contained in:
Clemens Lauermann 2020-04-19 11:11:37 +02:00
parent f93a32e12b
commit 9439c6c1d6

4
Jenkinsfile vendored
View File

@ -108,10 +108,12 @@ pipeline {
} }
} }
} }
emailext attachmentsPattern: "${env.GIT_PATH}diplomarbeit.pdf*", dir(env.GIT_PATH) {
emailext attachmentsPattern: "diplomarbeit.pdf*",
to: "${env.RECIPIENTS}", to: "${env.RECIPIENTS}",
subject: "[${currentBuild.currentResult}] Diplomarbeit Build #${env.BUILD_NUMBER}", subject: "[${currentBuild.currentResult}] Diplomarbeit Build #${env.BUILD_NUMBER}",
body: "Job ${env.JOB_NAME}: ${env.JOB_URL}" body: "Job ${env.JOB_NAME}: ${env.JOB_URL}"
} }
} }
} }
}