updated Jenkinsfile
nclazz/api-cli/pipeline/head There was a failure building this commit Details

master
Niclas Thobaben 2021-07-07 16:06:32 +02:00
parent faaced90bc
commit 06b93c60cc
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -14,13 +14,13 @@ pipeline {
BRANCH : $BRANCH_NAME BRANCH : $BRANCH_NAME
""" """
sh 'npm install' sh 'npm install'
sh 'git status'
} }
} }
stage('Set Version') { stage('Set Version') {
when { branch 'master' } when { branch 'master' }
steps { steps {
sh 'npm version patch' sh 'npm version patch'
sh 'git status'
sh 'git push' sh 'git push'
} }
} }