RTC 4.0.1 Build Forge Post Build Deliver aborting why?
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
You may need an extra step in invoke the post build with JBE. Please see https://jazz.net/wiki/bin/view/Deployment/PostBuildAndBuildForge