Added auto doc deploy #2

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

6
Jenkinsfile vendored
View File

@ -49,17 +49,17 @@ pipeline {
anyOf { anyOf {
branch 'stable' branch 'stable'
branch 'unstable' branch 'unstable'
tag buildingTag()
} }
} }
steps { steps {
sshagent(credentials: ['1cf72f47-b70c-4f90-a958-020956099d19']) { sshagent(credentials: ['1cf72f47-b70c-4f90-a958-020956099d19']) {
scipt { scipt {
SUB_PATH="""${sh( def SUB_PATH = """${sh(
returnStdout: true, returnStdout: true,
script: 'echo "${GIT_BRANCH#*/}"' script: 'echo "${GIT_BRANCH#*/}"'
)}""".trim() )}""".trim()
if (tag) { if (buildingTag()) {
SUB_PATH="${env.TAG_NAME}" SUB_PATH="${env.TAG_NAME}"
} }
withEnv(["SUB_PATH=${SUB_PATH}"]) { withEnv(["SUB_PATH=${SUB_PATH}"]) {