generated from gCubeCI/Pipeline-Docker-Template
parent
545ec46752
commit
5e84d57f91
|
@ -82,7 +82,7 @@ pipeline {
|
||||||
//URL to the YAML file. Used alternatively to RELEASE_JOB
|
//URL to the YAML file. Used alternatively to RELEASE_JOB
|
||||||
RELEASE_URL= "${params.RELEASE_URL}"
|
RELEASE_URL= "${params.RELEASE_URL}"
|
||||||
// username of ReleaseManager. Used for limiting the preproduction deployments
|
// username of ReleaseManager. Used for limiting the preproduction deployments
|
||||||
RELEASE_MANAGER_USER='roberto.cirillo'
|
RELEASE_MANAGER_USER='giancarlo.panichi'
|
||||||
// name of Smartgears distribution group, defined in the yaml file ( only for release deployments)
|
// name of Smartgears distribution group, defined in the yaml file ( only for release deployments)
|
||||||
DISTRIBUTION_CATEGORY='Distribution'
|
DISTRIBUTION_CATEGORY='Distribution'
|
||||||
// name of Portlets group, defined in the yaml file ( only for release deployments)
|
// name of Portlets group, defined in the yaml file ( only for release deployments)
|
||||||
|
@ -267,14 +267,14 @@ pipeline {
|
||||||
echo 'The deploy pipeline worked!'
|
echo 'The deploy pipeline worked!'
|
||||||
|
|
||||||
emailext attachLog: true,//attachmentsPattern: "**/${ACTION_DEPLOY_FILE}.csv",
|
emailext attachLog: true,//attachmentsPattern: "**/${ACTION_DEPLOY_FILE}.csv",
|
||||||
to: 'roberto.cirillo@isti.cnr.it',
|
to: 'jenkinsbuilds@d4science.org',
|
||||||
subject: "[Jenkins-gCubeDeployer] Deploy report",
|
subject: "[Jenkins-gCubeDeployer] Deploy report",
|
||||||
body: "${currentBuild.fullDisplayName}. Build time: ${currentBuild.durationString}. See ${env.BUILD_URL}. "
|
body: "${currentBuild.fullDisplayName}. Build time: ${currentBuild.durationString}. See ${env.BUILD_URL}. "
|
||||||
}
|
}
|
||||||
failure {
|
failure {
|
||||||
echo 'The deploy pipeline has failed'
|
echo 'The deploy pipeline has failed'
|
||||||
emailext attachLog: true,
|
emailext attachLog: true,
|
||||||
to: 'roberto.cirillo@isti.cnr.it',
|
to: 'jenkinsbuilds@d4science.org',
|
||||||
subject: "[Jenkins-gCubeDeployer] deploy ${currentBuild.fullDisplayName} failed",
|
subject: "[Jenkins-gCubeDeployer] deploy ${currentBuild.fullDisplayName} failed",
|
||||||
body: "Something is wrong with ${env.BUILD_URL}"
|
body: "Something is wrong with ${env.BUILD_URL}"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue