updated Jenkinsfile
nclazz/api-cli/pipeline/head There was a failure building this commit
Details
nclazz/api-cli/pipeline/head There was a failure building this commit
Details
parent
faaced90bc
commit
06b93c60cc
|
@ -14,13 +14,13 @@ pipeline {
|
|||
BRANCH : $BRANCH_NAME
|
||||
"""
|
||||
sh 'npm install'
|
||||
sh 'git status'
|
||||
}
|
||||
}
|
||||
stage('Set Version') {
|
||||
when { branch 'master' }
|
||||
steps {
|
||||
sh 'npm version patch'
|
||||
sh 'git status'
|
||||
sh 'git push'
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue