Skip to content

Commit

Permalink
[JENKINS-19558] Checking post
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfgarnet committed Sep 27, 2013
1 parent 0f5d03e commit 6636228
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/java/net/praqma/hudson/notifier/CCUCMNotifier.java
Expand Up @@ -79,6 +79,8 @@ public boolean perform( AbstractBuild<?, ?> build, Launcher launcher, BuildListe
boolean result = true;
out = listener.getLogger();

out.println( "BEGINNING NOTIFIER" );

status = new Status();

/* Prepare job variables */
Expand Down Expand Up @@ -152,6 +154,8 @@ public boolean perform( AbstractBuild<?, ?> build, Launcher launcher, BuildListe

out.println( "[" + Config.nameShort + "] Post build steps done" );

out.println( "ENDING NOTIFIER" );

return result;
}

Expand Down
6 changes: 6 additions & 0 deletions src/main/java/net/praqma/hudson/scm/CCUCMScm.java
Expand Up @@ -268,12 +268,16 @@ public boolean checkout( AbstractBuild<?, ?> build, Launcher launcher, FilePath
out.println( "[" + Config.nameShort + "] Finished processing " + action.getBaseline() );
}

out.println( "ENDING CHECKOUT" );

return result;
}

@Override
public void postCheckout( AbstractBuild<?, ?> build, Launcher launcher, FilePath workspace, BuildListener listener ) throws IOException, InterruptedException {

listener.getLogger().println( "BEGINNING POSTCHECKOUT" );

/* This is really only interesting if child or sibling polling */
if( polling.isPollingOther() ) {

Expand Down Expand Up @@ -347,6 +351,8 @@ public void postCheckout( AbstractBuild<?, ?> build, Launcher launcher, FilePath
throw new AbortException( "Unable to start deliver" );
}
}

listener.getLogger().println( "ENDING POSTCHECKOUT" );
}

public void ensurePublisher( AbstractBuild build ) throws IOException {
Expand Down

0 comments on commit 6636228

Please sign in to comment.