Skip to content
Snippets Groups Projects
Commit e6eb8448 authored by Viktor Vorobev's avatar Viktor Vorobev
Browse files

Merged in fix-bitbucket-notification (pull request #46)

[NRRPLT-0000] remove notification commands

* [NRRPLT-0000] remove notification commands
parent 005f62c0
No related branches found
No related tags found
No related merge requests found
......@@ -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)
}
}
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment