mirror of
https://github.com/triqs/dft_tools
synced 2024-12-22 20:34:38 +01:00
[jenkins] always update submodules on unstable/master
not just for tagged commits like release branches
This commit is contained in:
parent
00b940dc17
commit
0f8cf50cd4
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -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") {
|
||||
|
Loading…
Reference in New Issue
Block a user