From ba71eee97ff627e00f78d32aa0565175cf35e491 Mon Sep 17 00:00:00 2001 From: pumpurumer Date: Wed, 28 Sep 2022 14:28:29 +0400 Subject: [PATCH] rebuild commit --- Jenkinsfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index cb6d1c2..021bafe 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -8,11 +8,11 @@ node('Lithium'){ currentBuild.result = 'ABORTED' error('Последний коммит - результат сборки jenkins') } - bat "git checkout ${env.BRANCH_NAME}" - bat "git checkout -- ." - bat "git pull" - bat "git submodule update --init --recursive" - bat "git submodule update --remote --merge" + cmd "git checkout ${env.BRANCH_NAME}" + cmd "git checkout -- ." + cmd "git pull" + cmd "git submodule update --init --recursive" + cmd "git submodule update --remote --merge" } stage("build and publish"){ sh label: '', script: 'npm i'