try{sh"helm del --purge ${env.PIPELIEN_NAME}-${env.BUILD_NUMBER}-single-gpu"}catch(exc){defhelmResult=shscript:"helm status ${env.PIPELIEN_NAME}-${env.BUILD_NUMBER}-single-gpu",returnStatus:trueif(!helmResult){sh"helm del --purge ${env.PIPELIEN_NAME}-${env.BUILD_NUMBER}-single-gpu"}throwexc}