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
|
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'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue