stage('Environment') { agent { node { label 'master' } } steps { script { def util = load("${env.WORKSPACE}/scripts/build_util.groovy") } } } post { // Things that we want done regardless of pipeline's outcome // always {
// Push the overall statistics from all the stages to InfluxDB // node (LINUX_BUILD_NODE){ script{ //Mail sending function call // util.runStep1() util.runStep2() util.runStep3() } } } }