Added auto doc deploy #2

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

4
Jenkinsfile vendored
View File

@ -53,7 +53,7 @@ pipeline {
} }
} }
steps { steps {
scipt { script {
echo "Hello world" echo "Hello world"
def SUB_PATH = """${sh( def SUB_PATH = """${sh(
returnStdout: true, returnStdout: true,
@ -62,6 +62,7 @@ pipeline {
if (buildingTag()) { if (buildingTag()) {
SUB_PATH="${env.TAG_NAME}" SUB_PATH="${env.TAG_NAME}"
} }
}
sshagent(credentials: ['1cf72f47-b70c-4f90-a958-020956099d19']) { sshagent(credentials: ['1cf72f47-b70c-4f90-a958-020956099d19']) {
withEnv(["SUB_PATH=${SUB_PATH}"]) { withEnv(["SUB_PATH=${SUB_PATH}"]) {
sh '''cd doc sh '''cd doc
@ -74,7 +75,6 @@ pipeline {
} }
} }
} }
}
post { post {
failure { failure {
sh 'cat doc/rsync.log' sh 'cat doc/rsync.log'