Trying to get the skip to work
Some checks failed
Gitsokyo/bot-base/pipeline/pr-master There was a failure building this commit
Some checks failed
Gitsokyo/bot-base/pipeline/pr-master There was a failure building this commit
This commit is contained in:
parent
b9a2a0eb6d
commit
bb20354c19
20
Jenkinsfile
vendored
20
Jenkinsfile
vendored
@ -62,16 +62,16 @@ pipeline {
|
||||
if (buildingTag()) {
|
||||
SUB_PATH="${env.TAG_NAME}"
|
||||
}
|
||||
}
|
||||
sshagent(credentials: ['1cf72f47-b70c-4f90-a958-020956099d19']) {
|
||||
withEnv(["SUB_PATH=${SUB_PATH}"]) {
|
||||
sh '''cd doc
|
||||
rm -f rsync.log
|
||||
ssh -o StrictHostKeyChecking=no -o BatchMode=yes ${DEPLOY_HOST} mkdir -p ${DEPLOY_PATH}${SUB_PATH}/
|
||||
rsync -aze 'ssh -o StrictHostKeyChecking=no -o BatchMode=yes' \
|
||||
--log-file=rsync.log \
|
||||
--delete \
|
||||
./build/html/ ${DEPLOY_HOST}:${DEPLOY_PATH}${SUB_PATH}/'''
|
||||
sshagent(credentials: ['1cf72f47-b70c-4f90-a958-020956099d19']) {
|
||||
withEnv(["SUB_PATH=${SUB_PATH}"]) {
|
||||
sh '''cd doc
|
||||
rm -f rsync.log
|
||||
ssh -o StrictHostKeyChecking=no -o BatchMode=yes ${DEPLOY_HOST} mkdir -p ${DEPLOY_PATH}${SUB_PATH}/
|
||||
rsync -aze 'ssh -o StrictHostKeyChecking=no -o BatchMode=yes' \
|
||||
--log-file=rsync.log \
|
||||
--delete \
|
||||
./build/html/ ${DEPLOY_HOST}:${DEPLOY_PATH}${SUB_PATH}/'''
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user