Modify buidforge projects in Build definition
I have around 730+ build definitions across 40 project areas. I need to modify all these build definitions since there is a change in the build forge project parameters.
Is there any possibility to modify the buildforge project and synchronize the properties for all the 730+ build definitions using java API.
Thanks and Regards,
Vijay Reddy.
Vijay Reddy.
2 answers
Hello,
That depends on what changes you are making. Build Forge stores everything in the database. So for example. If I wanted to set a project specific parameter. It would be represented in the database by some value depending on what it is. I could write a sql query in order to change that value for all projects in the DB.
I would need to know the param being changed first.
The RTC Plain Java Client Libraries allow to access and modify the build definitions.
https://jazz.net/wiki/bin/view/Main/BuildJavaProgrammingExamples talks about example code. This is a good entry point for how to set up for development https://rsjazz.wordpress.com/2013/03/20/understanding-and-using-the-rtc-java-client-api/
There have also been several discussions around this topic on this forum. You can search this forum for hints, once you have managed the basics. If you have more detailed questions you can search for content. I usually use a commercial search engine with my search parameters and add site:jazz.net to limit where to search.
https://jazz.net/wiki/bin/view/Main/BuildJavaProgrammingExamples talks about example code. This is a good entry point for how to set up for development https://rsjazz.wordpress.com/2013/03/20/understanding-and-using-the-rtc-java-client-api/
There have also been several discussions around this topic on this forum. You can search this forum for hints, once you have managed the basics. If you have more detailed questions you can search for content. I usually use a commercial search engine with my search parameters and add site:jazz.net to limit where to search.