Skip to content

Commit

Permalink
Add the log of the bootstrap process to the archives
Browse files Browse the repository at this point in the history
  • Loading branch information
tesonep committed Nov 3, 2020
1 parent 902fe2c commit 669c1fe
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions Jenkinsfile
Expand Up @@ -172,13 +172,14 @@ def bootstrapImage(){
}

} finally {
if(fileExists('bootstrap-cache/PharoDebug.log')){
shell "mv bootstrap-cache/PharoDebug.log bootstrap-cache/PharoDebug-bootstrap.log"
archiveArtifacts allowEmptyArchive: true, artifacts: "bootstrap-cache/PharoDebug-bootstrap.log", fingerprint: true
shell "ls -la"
if(fileExists('PharoDebug.log')){
shell "mv PharoDebug.log PharoDebug-bootstrap.log"
archiveArtifacts allowEmptyArchive: true, artifacts: "PharoDebug-bootstrap.log", fingerprint: true
}
if(fileExists('bootstrap-cache/crash.dmp')){
shell "mv crash.dmp bootstrap-cache/crash-bootstrap.dmp"
archiveArtifacts allowEmptyArchive: true, artifacts: "bootstrap-cache/crash-bootstrap.dmp", fingerprint: true
if(fileExists('crash.dmp')){
shell "mv crash.dmp crash-bootstrap.dmp"
archiveArtifacts allowEmptyArchive: true, artifacts: "crash-bootstrap.dmp", fingerprint: true
}

archiveArtifacts artifacts: 'bootstrap-cache/*.zip,bootstrap-cache/*.sources', fingerprint: true
Expand Down

0 comments on commit 669c1fe

Please sign in to comment.