RTC - Postdeliver - Flow change sets from Stream A to Stream B
Purvesh Kulkarni (11●1●1)
| asked Sep 21 '15, 9:49 a.m.
edited May 24 '16, 9:10 p.m. by David Lafreniere (4.8k●7) Hi, I have tried to follow this article (How to keep your streams flowing smoothly in Rational Team Concert 3.0.1) and allow change sets to be delivered between stream but I am facing errors during the Autodeliver step. I tried to search for solution, but could not find any. Our goal is to deliver the changes to a Green Stream once build is complete without warning or error.
Build Log looks as follows:
init:
prepare: compile:
publish:
BUILD SUCCESSFUL
Please can you suggest what is missing in the configuration?
Build.xml is as follows:
<target name="init">
<target name="prepare" depends="init">
<target name="clean" depends="init">
<target name="compile" depends="prepare">
<target name="publish" depends="compile">
<!-- Publish file echo.txt to RTC -->
<!-- Taskdef declarations -->
</project> |
Accepted answer
Hello,
It seems that an SCM snapshot is not being attached to the build result. This is why the warning message appears and could explain why the deliver is not happening. There are a couple of common reasons why this might happen. 1) The build is being run as a "Personal Build" If the build is being invoked manually (ie. not on a schedule) make sure that the personal build checkbox is unchecked in the build request dialog. 2) The build definition doesn't have the Jazz Source Control pre-build participant You can actually see the "Jazz Source Control" tab in the article but it doesn't really go into detail about that part. It probably assumes that you have that part set up already. When creating the build definition make sure that this participant is checked in the pre-build page. To add it to an existing build definition you can open it up in the Eclipse client, click on the "Build Definition" menu at the top of the and choose "Edit Configuration..." The Jazz Source Control page will also need a repository workspace to load the source code and create the snapshot. You'll need to pick one in this page so that it can create a snapshot on it and deliver what's in the snapshot to the target stream. I hope that this helps, Chris David Lafreniere selected this answer as the correct answer
Comments I agree with everything Chris wrote.
Purvesh Kulkarni
commented Oct 13 '15, 7:16 a.m.
Hi Chris,
Thanks, I realized that I was ordering a personalized build. Trying with a regular build I think the change sets are flowing through. I will verify those again and confirm.
I am also looking for a solution, where I need to prepare a copy of the files that have been modified as part of the accepted/delivered change sets.
So, if Stream A has the code checked in and build is requested on this stream, then post Build when code is delivered to Stream B, I need all the files that are being modified/created within those change sets. Can you suggest of some method to capture these details? Also, if it is possible to just capture the modified file name, I can work on a solution to copy the individual files. Hi Purvesh,
Purvesh Kulkarni
commented Oct 28 '15, 12:07 a.m.
Thanks Chris.
I will try that and let you know if it works (or ask back if it does not :-) ) |
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.