rebuild commit

This commit is contained in:
pumpurumer 2022-09-28 14:28:29 +04:00
parent 06e0b8efe1
commit ba71eee97f

10
Jenkinsfile vendored
View File

@ -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'