3
0
mirror of https://github.com/triqs/dft_tools synced 2024-06-29 00:15:00 +02:00

[jenkins] always update submodules on unstable/master

not just for tagged commits like release branches
This commit is contained in:
Dylan Simon 2019-04-16 15:43:03 -04:00
parent 00b940dc17
commit 0f8cf50cd4

2
Jenkinsfile vendored
View File

@ -93,7 +93,7 @@ try {
/* Publish results */
stage("publish") { timeout(time: 1, unit: 'HOURS') {
def commit = sh(returnStdout: true, script: "git rev-parse HEAD").trim()
def release = sh(returnStdout: true, script: "git describe --exact-match HEAD || true").trim()
def release = env.BRANCH_NAME.toCharacter().isLetter() || sh(returnStdout: true, script: "git describe --exact-match HEAD || true").trim()
def workDir = pwd()
/* Update documention on gh-pages branch */
dir("$workDir/gh-pages") {