Skip to content

Commit

Permalink
[Jenkins][CI] clean workspace after each stage (#2412)
Browse files Browse the repository at this point in the history
  • Loading branch information
JehandadKhan authored Sep 26, 2023
1 parent 115686c commit 55f9999
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,7 @@ def reboot(){
def buildHipClangJobAndReboot(Map conf=[:]){
try{
buildHipClangJob(conf)
cleanWs()
}
catch(e){
echo "throwing error exception for the stage"
Expand Down Expand Up @@ -362,6 +363,7 @@ def RunPerfTest(Map conf=[:]){
catch (Exception err){
currentBuild.result = 'SUCCESS'
}
cleanWs()
}
}
}
Expand Down

0 comments on commit 55f9999

Please sign in to comment.