Added auto doc deploy #2

Closed
SuwakoMmh wants to merge 13 commits from test into master
Showing only changes of commit b9a2a0eb6d - Show all commits

5
Jenkinsfile vendored
View File

@ -53,8 +53,8 @@ pipeline {
}
}
steps {
sshagent(credentials: ['1cf72f47-b70c-4f90-a958-020956099d19']) {
scipt {
echo "Hello world"
def SUB_PATH = """${sh(
returnStdout: true,
script: 'echo "${GIT_BRANCH#*/}"'
@ -62,6 +62,8 @@ 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
@ -73,7 +75,6 @@ pipeline {
}
}
}
}
post {
failure {
sh 'cat doc/rsync.log'