Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[JENKINS-18281] Updated test
  • Loading branch information
wolfgarnet committed Aug 21, 2013
1 parent a12cef7 commit 5c8ab2a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/test/java/net/praqma/hudson/test/CCUCMRule.java
Expand Up @@ -294,16 +294,15 @@ public AbstractBuild build() throws ExecutionException, InterruptedException, IO

EnableLoggerAction action = null;
if( outputDir != null ) {
logger.info( "Enabling logging" );
action = new EnableLoggerAction( outputDir );
System.out.println("TOTALT I ORDEN, DER");
}

Future<? extends Build<?, ?>> futureBuild = project.scheduleBuild2( 0, new Cause.UserCause(), action );

AbstractBuild build = futureBuild.get();

PrintStream out = new PrintStream( new File( outputDir, "jenkins." + getSafeName( project.getDisplayName() ) + "." + build.getNumber() + ".log" ) );
System.out.println("PRINT STREAM IS " + out);

out.println( "Build : " + build );
out.println( "Workspace : " + build.getWorkspace() );
Expand Down

0 comments on commit 5c8ab2a

Please sign in to comment.