fix attachment extension

master
Roberto Cirillo 2 years ago
parent e1d7dfb658
commit 53fe6924fb

4
Jenkinsfile vendored

@ -84,7 +84,7 @@ pipeline {
always {
script {
sh '''
cp $WALKER_NOTES ./walker_notes.${PIPELINE_BUILD_NUMBER}.md
cp $WALKER_NOTES ./walker_notes.${PIPELINE_BUILD_NUMBER}.txt
'''
}
}
@ -93,7 +93,7 @@ pipeline {
emailext to: 'jenkinsbuilds@d4science.org',
subject: "[Jenkins WalkerPipeline D4S] build ${currentBuild.fullDisplayName} worked",
body: "Build time: ${currentBuild.durationString}. See ${env.BUILD_URL}"
emailext attachmentsPattern: "**/walker_notes.${PIPELINE_BUILD_NUMBER}.md",
emailext attachmentsPattern: "**/walker_notes.${PIPELINE_BUILD_NUMBER}.txt",
to: 'jenkinsreleases@d4science.org',
subject: "Dependency Report for gCube component ${inputProject} (build #${PIPELINE_BUILD_NUMBER})",
body: "Downstream dependencies of ${inputProject}. See ${env.BUILD_URL}"

Loading…
Cancel
Save