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

[jenkins] stage publication results in tmpdir

Currently they're polluting the main build dir and not getting cleaned
up for some reason
This commit is contained in:
Dylan Simon 2020-01-14 15:49:38 -05:00
parent bef6368d89
commit 5c760037b7

2
Jenkinsfile vendored
View File

@ -95,7 +95,7 @@ try {
stage("publish") { timeout(time: 5, unit: 'MINUTES') {
def commit = sh(returnStdout: true, script: "git rev-parse HEAD").trim()
def release = env.BRANCH_NAME == "master" || env.BRANCH_NAME == "unstable" || sh(returnStdout: true, script: "git describe --exact-match HEAD || true").trim()
def workDir = pwd()
def workDir = pwd(tmp:true)
lock('triqs_publish') {
/* Update documention on gh-pages branch */
dir("$workDir/gh-pages") {