From c2ab05546da21f4f0ed6e19de8f174ea4764b4dc Mon Sep 17 00:00:00 2001 From: Roberto Cirillo Date: Tue, 7 Feb 2023 16:37:54 +0100 Subject: [PATCH] change repo filename --- Jenkinsfile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 9f6fb21..100ccc4 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -57,7 +57,7 @@ pipeline { steps { sh ''' date=`date` - echo "#Build ${PIPELINE_BUILD_NUMBER},,,,," > $PUSH_REPORT + echo "#Push ${PIPELINE_BUILD_NUMBER},,,,," > $PUSH_REPORT echo "#StartTime ${date},,,,," >> $PUSH_REPORT echo "#Release ${gCube_release_version},,,,," >> $PUSH_REPORT echo "ArtifactID,Version,SCM URL,Build Number,Push response" >> $PUSH_REPORT @@ -85,17 +85,17 @@ pipeline { always { script { sh ''' - cp $PUSH_REPORT ./build_jobs.${PIPELINE_BUILD_NUMBER}.csv - cat ./build_jobs.${PIPELINE_BUILD_NUMBER}.csv + cp $PUSH_REPORT ./push_jobs.${PIPELINE_BUILD_NUMBER}.csv + cat ./push_jobs.${PIPELINE_BUILD_NUMBER}.csv ''' } } success { echo 'The gCubePushingOut pipeline worked!' emailext to: 'roberto.cirillo@isti.cnr.it', - subject: "[Jenkins PUSH D4S] ${TYPE} build ${currentBuild.fullDisplayName} worked", + subject: "[Jenkins PUSH D4S] ${TYPE} push ${currentBuild.fullDisplayName} worked", body: "Build time: ${currentBuild.durationString}. See ${env.BUILD_URL}" - emailext attachmentsPattern: "**/build_jobs.${PIPELINE_BUILD_NUMBER}.csv", + emailext attachmentsPattern: "**/push_jobs.${PIPELINE_BUILD_NUMBER}.csv", to: 'roberto.cirillo@isti.cnr.it', subject: "${TYPE} push report for ${GCUBE_RELEASE_NUMBER} (build #${PIPELINE_BUILD_NUMBER})", body: "${currentBuild.fullDisplayName}. Build time: ${currentBuild.durationString}. See ${env.BUILD_URL}" @@ -104,7 +104,7 @@ pipeline { echo 'The gCubePushingOut pipeline has failed' emailext attachLog: true, to: 'roberto.cirillo@isti.cnr.it', - subject: "[Jenkins PUSH D4S] build ${currentBuild.fullDisplayName} failed", + subject: "[Jenkins PUSH D4S] push ${currentBuild.fullDisplayName} failed", body: "Something is wrong with ${env.BUILD_URL}" } }