File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11#! groovy
22
33// Copyright (c) 2020 ETH Zurich
4- // Copyright (c) 2022 Hartmut Kaiser
4+ // Copyright (c) 2022-2025 Hartmut Kaiser
55// Copyright (c) 2024 Alireza Kheirkhahan
66//
77// SPDX-License-Identifier: BSL-1.0
@@ -26,7 +26,7 @@ pipeline {
2626 stages {
2727 stage(' checkout' ) {
2828 steps {
29- dir(' hpx ' ) {
29+ dir(' hpx_${env.BUILD_ID} ' ) {
3030 checkout scm
3131 echo " Running ${ env.BUILD_ID} on ${ env.JENKINS_URL} "
3232 }
@@ -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,9 @@ 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
67+ rm - rf hpx_${env. BUILD_ID }/*
6768 }
6869 }
6970}
Original file line number Diff line number Diff line change 3737fi
3838
3939# delay things for a random amount of time
40- sleep $[(RANDOM % 10 ) + 1].$[(RANDOM % 10 )]s
40+ sleep $[(RANDOM % 20 ) + 1].$[(RANDOM % 20 )]s
4141
4242# Start the actual build
4343set +e
You can’t perform that action at this time.
0 commit comments