cd script
This commit is contained in:
parent
c5a16dd2c3
commit
7636327cc0
6
cd/Jenkinsfile
vendored
Normal file
6
cd/Jenkinsfile
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
stage ('change folder') {
|
||||
script {
|
||||
echo 'CD_DIR=' + CD_DIR
|
||||
sh "cd ${CD_DIR}";
|
||||
}
|
||||
}
|
6
install/ci/Jenkinsfile
vendored
6
install/ci/Jenkinsfile
vendored
@ -7,7 +7,13 @@ stage('install:ci') {
|
||||
} else {
|
||||
currentBuild.displayName = "#${BUILD_NUMBER}, branch ${branchName}"
|
||||
}
|
||||
|
||||
if (CD_DIR) {
|
||||
sh "cd ${CD_DIR}";
|
||||
}
|
||||
|
||||
currentBuild.description = "#${BUILD_NUMBER}, branch ${branchName}, tag ${tag ? tag : 'no tag'}\n\n${lastLog}"
|
||||
echo 'starting installing'
|
||||
sh "pwd"
|
||||
sh 'npm ci'
|
||||
}
|
Loading…
Reference in New Issue
Block a user