From 5e55678313160a1d45599bfadbf6dc48dbf848b5 Mon Sep 17 00:00:00 2001 From: tgsiegel <tgsiegel@umd.edu> Date: Mon, 18 Apr 2022 12:03:32 -0400 Subject: [PATCH] test --- dawn-cli/dev | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/dawn-cli/dev b/dawn-cli/dev index 7ae0ab4..018bd9c 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 -- GitLab