diff --git a/dawn-cli/dev b/dawn-cli/dev index 7ae0ab4007a9dc133970008af34b0d9179ca63bb..018bd9cebebaf4b58bb4f7a13539d412a27aad63 100644 --- a/dawn-cli/dev +++ b/dawn-cli/dev @@ -5,12 +5,12 @@ pipeline { } stages { - stage('notify') { - steps { - BUILD_TRIGGERED_BY = "${currentBuild.getBuildCauses()[0].shortDescription} / ${currentBuild.getBuildCauses()[0].userId}" - slackSend(channel: "ci", message: "${JOB_NAME}-#${BUILD_NUMBER}-${GIT_BRANCH} triggered by ${BUILD_TRIGGERED_BY} (<${BUILD_URL}|Open>)") - } - } + // stage('notify') { + // steps { + // BUILD_TRIGGERED_BY = "${currentBuild.getBuildCauses()[0].shortDescription} / ${currentBuild.getBuildCauses()[0].userId}" + // slackSend(channel: "ci", message: "${JOB_NAME}-#${BUILD_NUMBER}-${GIT_BRANCH} triggered by ${BUILD_TRIGGERED_BY} (<${BUILD_URL}|Open>)") + // } + // } stage('build new dawn-cli') { steps { @@ -47,12 +47,10 @@ pipeline { post { success { - BUILD_TRIGGERED_BY = "${currentBuild.getBuildCauses()[0].shortDescription} / ${currentBuild.getBuildCauses()[0].userId}" - slackSend(channel: "ci", color: "good", message: "${JOB_NAME}-#${BUILD_NUMBER}-${GIT_BRANCH} success after ${currentBuild.durationString} (<${BUILD_URL}|Open>)") + slack_send_success } failure { - BUILD_TRIGGERED_BY = "${currentBuild.getBuildCauses()[0].shortDescription} / ${currentBuild.getBuildCauses()[0].userId}" - slackSend(channel: "ci", color: "danger", message: "${JOB_NAME}-#${BUILD_NUMBER}-${GIT_BRANCH} failed after ${currentBuild.durationString} (<${BUILD_URL}|Open>)") + slack_send_failure } } } \ No newline at end of file