Browse Source

fix attachment extension

master
Roberto Cirillo 6 months ago
parent
commit
53fe6924fb
  1. 4
      Jenkinsfile

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