Jenkinsfile
This commit is contained in:
parent
0db84a982e
commit
26ca44d4b7
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
@ -1,6 +1,6 @@
|
|||||||
env.HL_BUILD_MODE = "jenkins"
|
env.HL_BUILD_MODE = "jenkins"
|
||||||
|
|
||||||
node('Lithium'){
|
node('Palladium'){
|
||||||
|
|
||||||
stage('get new version to repo') {
|
stage('get new version to repo') {
|
||||||
checkout scm
|
checkout scm
|
||||||
@ -9,11 +9,7 @@ node('Lithium'){
|
|||||||
error('Последний коммит - результат сборки jenkins')
|
error('Последний коммит - результат сборки jenkins')
|
||||||
}
|
}
|
||||||
sh "git checkout ${env.BRANCH_NAME}"
|
sh "git checkout ${env.BRANCH_NAME}"
|
||||||
sh "git checkout -- ."
|
|
||||||
|
|
||||||
sh "git pull --rebase"
|
|
||||||
//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