Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Post build Deliver in RTC (6.0.1) build definition does not work

Following this article, I do not see changes being delivered to the target stream.

https://jazz.net/library/article/649#Example_postBuildDeliver

Does this work in RTC 6.0.1? I have seen older posts claiming it doesn't work in previous versions.

Thanks,
Binoy

0 votes

Comments

-What is the 'Trigger Policy' set to?

-What was the status of the build (warning/error)?
-Does the build user have read and write access to the target stream?
-How are you requesting a build?
-What is the JBE output for the Post-build Deliver? You should see logs when it starts, and when it either aborts or continues with the deliver (replace).
-Add any other information that might be relevant, so far we have nothing to go by. Post-build deliver has been working fine since it came out in RTC 3.0.1 (our team uses it daily)

Hi David,

All very good points, I'm verifying some of these and will get back.

-Trigger Policy is set to "Delivery Always"
-The build status fails with error, however I'm testing if the automatic delivery to stream works or not.
-Build is requested from RTC build definition with my user id.
-By JBE output, you mean the log under <build-engine>/data/log? If so, I don't see an output there. Neither do I see anything related to post-build deliver in the build log.

Thanks,
Binoy

Hi David,


More info:

The build definition is a Hudson/Jenkins build def. The engine id associated with it is a hudson/jenkins type. I get error when starting the build engine saying:

Exception occurred in build loop: CRRTC3540E: The following build engine is a Hudson/Jenkins build engine: "bldtest1jbe". Only engines of type "Jazz Build Engine" can be used with the "-engineId" argument.
CRRTC3529W: The execution of Jazz Build Engine completed with a non-zero return code (RC=1).

I saw online that this build engine should not be started, is that correct? Although I don't think this is related to the Post-Build deliver participant not working but I can try.

Another thing, what user id RTC uses to replace the component of the target stream?

Also, where can I see any logs related to this participant? Right now, I don't have a clue what is causing this participant to not work.

Thanks,
Binoy

 Hi David,


Does this gives you enough information? Do you need additional details?

Thanks,
Binoy


Accepted answer

Permanent link
I created a PMR and got it resolved. The post build deliver participant is not working in the hudson/jenkins build definition. Instead, the workaround in this jenkins issue worked for me:

https://issues.jenkins-ci.org/browse/JENKINS-18421

Thanks,
Binoy
David Lafreniere selected this answer as the correct answer

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 562
× 151

Question asked: Aug 16 '16, 5:12 p.m.

Question was seen: 3,169 times

Last updated: Aug 20 '16, 11:22 a.m.

Confirmation Cancel Confirm