private void runPreStep ( String folderPath ) { Cli cli = new Cli ( ) ; boolean success = false ; List < String > compileOutput = cli . runCmd ( folderPath , cli . getCommandParams ( SBT , COMPILE ) ) ; if ( ! compileOutput . isEmpty ( ) ) { if ( compileOutput . get ( compileOutput . size ( ) - 1 ) . contains ( SUCCESS ) ) { success = true ; } } if ( ! success ) { logger . warn ( "Can't run '{} {}'" , SBT , COMPILE ) ; } }
creating the xml report using sbt compile command