10910
This commit is contained in:
parent
492a87d310
commit
6168cd574f
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@ -1,14 +1,15 @@
|
|||||||
env.HL_BUILD_MODE = "jenkins"
|
env.HL_BUILD_MODE = "jenkins"
|
||||||
|
|
||||||
node('Palladium'){
|
node('Palladium'){
|
||||||
|
|
||||||
stage('get new version to repo') {
|
stage('get new version to repo') {
|
||||||
checkout scm
|
checkout scm
|
||||||
if (lastCommitIsBumpCommit()) {
|
if (lastCommitIsBumpCommit()) {
|
||||||
currentBuild.result = 'ABORTED'
|
currentBuild.result = 'ABORTED'
|
||||||
error('Последний коммит - результат сборки jenkins')
|
error('Последний коммит - результат сборки jenkins')
|
||||||
}
|
}
|
||||||
sh "git checkout ${env.BRANCH_NAME}"
|
//sh "git submodule update --init --recursive"
|
||||||
|
//sh "git submodule update --remote --merge"
|
||||||
}
|
}
|
||||||
stage("build and publish"){
|
stage("build and publish"){
|
||||||
dir('angular'){
|
dir('angular'){
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user