public static void deleteFilePath ( FilePath workspace , String path ) throws IOException { if ( StringUtils . isNotBlank ( path ) ) { try { FilePath propertiesFile = new FilePath ( workspace , path ) ; propertiesFile . delete ( ) ; } catch ( Exception e ) { throw new IOException ( "Could not delete temp file: " + path ) ; } } }
Deletes a FilePath file .