Automatic build after code delivery / SCM polling in RTC
3 answers
Hi Narasimha,
In RTC when you create a build definition, please enable "Jazz Source Control" pre-build. Then in the "Jazz Source Control" tab of the bui,d definition, you can enable "Build only if there are changes accepted".
After enabled the scheduler for the build definition, RTC build will check if there's any code changes on the stream. If there is, the build workspace will accept changes from the stream and starts build.
You can refer to the articles below about setup continuous integration build in RTC:
https://jazz.net/library/article/474
https://jazz.net/help-dev/clm/index.jsp?re=1&topic=/com.ibm.team.build.doc/topics/tcreatebuilddefinition.html&scope=null
https://jazz.net/help-dev/clm/index.jsp?re=1&topic=/com.ibm.team.concert.dotnet.doc/topics/c_build_workspaces.html&scope=null
Comments
I just unchecked "Build If only changes are accepted"...Now builds are happening even though I didn't make changes to my repository.
Earlier builds were not happened since I didn't make changes to my source.
Thank you all for inputs
Comments
Hello, I have configured in above said manner. :
"Build only if there are changes accepted" is checked. Basically new change set has been delivered to the stream and then accept into the build workspace.
Schedule is enabled in Build definition.
But still I don't see build getting triggered.how can this be achieved such that build get triggered only when there is a change in build workspace ?