It's all about the answers!

Ask a question

RTC 4.0.1 Build Forge Post Build Deliver aborting why?


Donald Poulin (2249119107) | asked May 22 '14, 10:37 a.m.
 I have a build definition (Build Forge template) that I created with a post-build deliver tab. I have it set to only deliver if no errors, no warnings, and no incomplete build activities. I also have the option on jazz source control set to take a snapshot. 

On my first test the log showed the post build step was not executed because there was no post build participant found to process the request. I then added a final step on my Build Forge job to exeute the jbe and request the post build participant 

participants com.ibm.team.build.autoDeliver -noComplete

Now when I execute the actualy step log from Build Forge show a "green" status - here are the last few  lines

2014-05-22 09:24:57 [Jazz build engine] Searching for buildResultUUID=_KlHloOG0EeOHcsyIXQfMnQ
2014-05-22 09:24:57 [Jazz build engine] The -noComplete argument was specified. The build result will not be completed by JBE.
2014-05-22 09:24:57 [Jazz build engine] Building only the specified participants: "[com.ibm.team.build.autoDeliver]"
2014-05-22 09:25:01 [Jazz build engine] Found a user request for build definition "R1DataCapDCOMainSnapshot".
2014-05-22 09:25:01 [Jazz build engine] CRRTC3507W: Warning: An engine participant was not found for the pre_build configuration element "Jazz Source Control". For more details, open the help system and search for CRRTC3507W.
2014-05-22 09:25:02 [Jazz build engine] Completed building buildResultUUID=_KlHloOG0EeOHcsyIXQfMnQ
2014-05-22 09:25:02 [Jazz build engine] Exiting JBE after completing single build request, RC=0.
end [C:\BF_BUILDS_TEST\R1DataCapDCOMainSnapshot\BUILD_18@DOR966409]

But the "build log" shows an error - see below

2014-05-22 09:25:01 [Jazz build engine] CRRTC3507W: Warning: An engine participant was not found for the pre_build configuration element "Jazz Source Control". For more details, open the help system and search for CRRTC3507W.
2014-05-22 09:25:01 [Jazz build engine] Invoking post-build participant "com.ibm.team.build.autoDeliver"
2014-05-22 09:25:02 [Jazz build engine] Aborting post-build deliver. The following list of build activities were incomplete:
   -R1DataCapDCOMainSnapshot (BUILD_18 as bf_user_engine01) for poulind
   -004 - post build participant

Step 4 is the post build participant.

So what do I need to do to get it to work?

One answer



permanent link
Lily Wang (4.9k714) | answered May 22 '14, 8:59 p.m.
You may need an extra step in invoke the post build with JBE. Please see https://jazz.net/wiki/bin/view/Deployment/PostBuildAndBuildForge

Comments
Donald Poulin commented May 23 '14, 7:23 a.m.

Step 4 - the one that is being "flagged" as an incomplete activity - is executing the post build participant documented in the link. I have the setting that says abort if any incomplete activities so the delivery is aborted. Why is that post participant activity being flagged as incomplete?


If I deselect the abort if any incomplete activities the post deliver happens, but it seems that I shouldn't have to do it that way. 


Lily Wang commented May 26 '14, 3:55 a.m.

Hi Donald,
Sorry I misunderstood your issue. I tested with RTC 4.0.1 and got same issue as yours. But in RTC 4.0.6 with same configuration of the build definition, I don't have any issue and the post-deliver works.
Unfortunately I didn't find any existing defect about that.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.