Continuous Development in RTC
Hello,
I want to adapt the Continuous Development process / features available in RTC. Let me explain the scenario : My team has a Release Stream & Development Stream. Developers are working on Development Stream. After QA checks final code is ready & base-lined (baseline / Snapshot) in Development Stream. Now I want the base-lined code to be moved to Release Stream.
I know this can be achieved through Flow Connections. But I don't feel this is completely CD.
How can the system automatically detect these changes done in Development Stream and move the changes to Release Stream ?
Accepted answer
You explain continuous development and how it should work in any system. So I feel this is completely CD.
There are various mechanisms that could be used to automate certain steps, if needed.
The reason why, by default, flow target would be used, is to have control about what ends up on a release stream and you don't want automation that is not conscious and can not think about should this happen.
Here some suggestions: https://jazz.net/library/article/649
It is possible to use a post build deliver to automatically deliver to a stream if the build succeeded. There are other automation options as well.
3 other answers
Thank you Ralph..
Could you also give me some hints on other options of automation that are available apart from above mentioned ones ?
Also I read on IBM blogs, using ANT Builds & ANT scripts there are possibility to perform. I just got the flavors in IBM pages but I didn't find more documentations. Would be helpful if you could share link for this as well.
- There is an SCM Command Line - Search for 'lscm', 'scm' or 'scm.exe' in the online documentation https://www-01.ibm.com/support/knowledgecenter/SSYMRC/clm_family_welcome.html .
- There are ANT tasks for some automation. Search for 'ant task reference' in the online documentation https://www-01.ibm.com/support/knowledgecenter/SSYMRC/clm_family_welcome.html.
- There are some articles in the library, https://jazz.net/library/#sort=pubDate&tag=build
- There is a set of APIs: https://rsjazz.wordpress.com/2015/09/30/learning-to-fly-getting-started-with-the-rtc-java-apis/
- There are other tools https://rsjazz.wordpress.com/2019/07/03/work-item-command-line-5-0/
This might (or might not) be of interest https://rsjazz.wordpress.com/2015/10/28/build-artifacts-publishing-and-automated-build-output-management-using-the-plain-java-client-libraries/
I am trying Post-Deliver option. But even after my builds are successful, the components are not delivered to target Stream. I am sure my configuration is correct.
Configuration: I have JBE & Trigger Policy is set to "Delivery Always" (also tried 'Deliver if no errors'). Build is requested from RTC build definition with my user id and I am the rights for that Project & Stream.
Can you give some hints to solve this ?
Comments
If your configuration is correct and there is no error message, it is a mystery.
Note the "Post Build Deliver" is not actually a deliver operation. As far as I can tell, it replaces the component baselines on the components in the target stream with the baselines from the repository workspace/stream used in the build.