private void clearPipelineError ( ) { File dir = new File ( buildDirectory , "pipeline" ) ; if ( dir . isDirectory ( ) ) { try { FileUtils . cleanDirectory ( dir ) ; } catch ( IOException e ) { getLog ( ) . warn ( "Cannot clean the pipeline directory" , e ) ; } } }
Deletes all error report from the pipeline error directory .