Skip to content

Commit

Permalink
[JENKINS-18281] Added creation of change log for delivers in the corr…
Browse files Browse the repository at this point in the history
…ect place
  • Loading branch information
wolfgarnet committed Aug 23, 2013
1 parent 84368a0 commit d394e0e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/main/java/net/praqma/hudson/scm/CCUCMScm.java
Expand Up @@ -467,10 +467,14 @@ public boolean beginDeliver( AbstractBuild<?, ?> build, CCUCMBuildAction state,
//state.setSnapView( er.getView() );
this.viewtag = er.getViewtag();

String changelog = "";
changelog = Util.createChangelog( er.getActivities(), action.getBaseline(), trimmedChangeSet );
action.setActivities( er.getActivities() );

/* Write change log */
try {
FileOutputStream fos = new FileOutputStream( changelogFile );
fos.write( er.getMessage().getBytes() );
fos.write( changelog.getBytes() );
fos.close();
} catch( IOException e ) {
logger.fine( id + "Could not write change log file" );
Expand Down

0 comments on commit d394e0e

Please sign in to comment.