rebuild commit
This commit is contained in:
parent
06e0b8efe1
commit
ba71eee97f
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
@ -8,11 +8,11 @@ node('Lithium'){
|
|||||||
currentBuild.result = 'ABORTED'
|
currentBuild.result = 'ABORTED'
|
||||||
error('Последний коммит - результат сборки jenkins')
|
error('Последний коммит - результат сборки jenkins')
|
||||||
}
|
}
|
||||||
bat "git checkout ${env.BRANCH_NAME}"
|
cmd "git checkout ${env.BRANCH_NAME}"
|
||||||
bat "git checkout -- ."
|
cmd "git checkout -- ."
|
||||||
bat "git pull"
|
cmd "git pull"
|
||||||
bat "git submodule update --init --recursive"
|
cmd "git submodule update --init --recursive"
|
||||||
bat "git submodule update --remote --merge"
|
cmd "git submodule update --remote --merge"
|
||||||
}
|
}
|
||||||
stage("build and publish"){
|
stage("build and publish"){
|
||||||
sh label: '', script: 'npm i'
|
sh label: '', script: 'npm i'
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user