Skip to content

Commit

Permalink
put build back in to after fixing system variable bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Terry McGuinness committed Oct 27, 2024
1 parent 02c7682 commit 7c75021
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions ci/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,7 @@ pipeline {
def build_args = build_args_list[system].join(' ').trim().replaceAll('null', '')
dir("${HOMEgfs}/sorc") {
try {
//sh(script: "${build_args}")
echo "Building system ${system} on ${Machine} SKIPPING"
sh(script: "${build_args}")
} catch (Exception error_build) {
echo "Failed to build system: ${error_build.getMessage()}"
if ( fileExists("logs/error.logs") ) {
Expand Down Expand Up @@ -212,7 +211,7 @@ pipeline {
}

stage("Running ${caseName}") {
//catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
script {
HOMEgfs = "${CUSTOM_WORKSPACE}/gfs" // common HOMEgfs is used to launch the scripts that run the experiments
env.HOME_GFS = HOMEgfs // setting path in HOMEgfs as an environment variable HOME_GFS for some systems that using the path in its .bashrc
Expand Down Expand Up @@ -264,7 +263,7 @@ pipeline {
}
}
}
//}
}
}
}]
}
Expand All @@ -273,7 +272,6 @@ pipeline {
}
}


stage( '5. FINALIZE' ) {
agent { label NodeName[machine].toLowerCase() }
steps {
Expand Down

0 comments on commit 7c75021

Please sign in to comment.