try{sh"helm del --purge ${env.JOB_NAME}-${env.BUILD_NUMBER}"if(currentBuild.result=='ABORTED'){thrownewhudson.AbortException("Dev Test Aborted !")}elseif(currentBuild.result=='FAILURE'){error("Dev Test Failure !")}}catch(exc){updateGitlabCommitStatusname:'Cleanup Dev',state:'failed'throwexc}