From e6eb84487670908db8a0486570832d2d2ce8f187 Mon Sep 17 00:00:00 2001 From: Viktor Vorobev <vorobev@in.tum.de> Date: Fri, 19 May 2023 13:45:01 +0000 Subject: [PATCH] Merged in fix-bitbucket-notification (pull request #46) [NRRPLT-0000] remove notification commands * [NRRPLT-0000] remove notification commands --- Jenkinsfile | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index b29ebde..3e39735 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -25,12 +25,6 @@ pipeline { stages { stage('Code checkout') { steps { - // Notify BitBucket on the start of the job - // The Bitbucket Build Status Notifier is used - // REF: https://plugins.jenkins.io/bitbucket-build-status-notifier/ - - bitbucketStatusNotify(buildState: 'INPROGRESS', buildName: 'Code checkout') - // Debug information on available environment echo sh(script: 'env|sort', returnStdout: true) @@ -43,8 +37,6 @@ pipeline { stage('Install') { steps { - bitbucketStatusNotify(buildState: 'INPROGRESS', buildName: 'Installing nrp-frontend') - // Build operations (starting in .ci directory) dir(env.GIT_CHECKOUT_DIR){ // Determine explicitly the shell as bash @@ -56,8 +48,6 @@ pipeline { stage('Test') { steps { - bitbucketStatusNotify(buildState: 'INPROGRESS', buildName: 'Testin nrp-frontend') - // Build operations (starting in .ci directory) dir(env.GIT_CHECKOUT_DIR){ sh 'cp src/config.json.sample.local src/config.json' @@ -90,14 +80,5 @@ pipeline { always { cleanWs() } - aborted { - bitbucketStatusNotify(buildState: 'FAILED', buildDescription: 'Build aborted!') - } - failure { - bitbucketStatusNotify(buildState: 'FAILED', buildDescription: 'Build failed, see console output!') - } - success{ - bitbucketStatusNotify(buildState: 'SUCCESSFUL', buildDescription: 'branch ' + env.BRANCH_NAME) - } } } -- GitLab