Skip to content

Commit 4a9e146

Browse files
committed
Attempt to diagnose Jenkins/Slurm issues
Signed-off-by: Hartmut Kaiser <hartmut.kaiser@gmail.com>
1 parent ed5225b commit 4a9e146

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.jenkins/lsu/Jenkinsfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ pipeline {
2626
stages {
2727
stage('checkout') {
2828
steps {
29-
dir('hpx') {
29+
dir('hpx_${env.BUILD_ID}') {
3030
checkout scm
31-
echo "Running ${env.BUILD_ID} on ${env.JENKINS_URL}"
31+
echo "Running ${env.BUILD_ID} on ${env.JENKINS_URL} (base directory: ${env.WORKSPACE})"
3232
}
3333
}
3434
}
@@ -47,7 +47,7 @@ pipeline {
4747
stages {
4848
stage('build') {
4949
steps {
50-
dir('hpx') {
50+
dir('hpx_${env.BUILD_ID}') {
5151
sh '''
5252
#!/bin/bash -l
5353
.jenkins/lsu/entry.sh
@@ -62,8 +62,8 @@ pipeline {
6262

6363
post {
6464
always {
65-
archiveArtifacts artifacts: 'hpx/jenkins-hpx-*', fingerprint: true
66-
archiveArtifacts artifacts: 'hpx/build/*/Testing/**', fingerprint: true
65+
archiveArtifacts artifacts: 'hpx_${env.BUILD_ID}/jenkins-hpx-*', fingerprint: true
66+
archiveArtifacts artifacts: 'hpx_${env.BUILD_ID}/build/*/Testing/**', fingerprint: true
6767
}
6868
}
6969
}

0 commit comments

Comments
 (0)