Automatically kick-off build when there is a change?
Is that possible to setup Jazz Build in the way that build will be kick-off (instead of run against schedule) when there is a new change (true continuously build).
Thanks Jirong |
8 answers
Geoffrey Clemm (30.1k●3●30●35)
| answered Jul 26 '11, 5:54 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
For scalability, the RTC build mechanism is based on polling, rather
than broadcasting. In particular, it is unlikely that you really want to kick off a build on every change, since that would rapidly flood your build engines with a set of very slightly different builds. The way you achieve this is to set a reasonably short build schedule, and select "Build only if there are changes". Cheers, Geoff On 7/26/2011 3:38 PM, hujirong wrote: Is that possible to setup Jazz Build in the way that build will be |
Yeah, the project team does agree with me as you advised.
But RTC does have a "continuous interval" setting? Thanks Jirong |
Yeah, the project team does agree with me as you advised. Hi, Yes. If your build definition was created with a 'Schedule' configuration element (Schedule is usually checked by default when creating), then there should be a 'Schedule' tab where you can set the 'Continuous interval in minutes' property. Brent Ulbricht RTC Build Lead |
1. Currently the project team is using "continuous interval" with 10 minutes in CruiseControl, so they want to have the same in RTC. I guess we can achieve that.
2. They are asking if we can pause the above between 7pm to 7am. Is that possible? I believe what they want is no build if nobody is working. So my question is if there is no change, RTC won't build, right? This Accept Options: a) Accept latest changes before loading (create a snapshot of build workspace) b) Build only if there are changes accepted 3. Another question is do we need to make a baseline before build? Since in the above step 2a a snapshot is created. Thanks Jirong |
Geoffrey Clemm (30.1k●3●30●35)
| answered Aug 05 '11, 11:09 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
1. Yes.
2. You can limit a continuous build to certain days, and you can specify that you only want to build if there are changes. So currently you cannot have a continuous build for only a limited time interval, but if nobody is working, then there will just be a quick check to verify that there are no changes, so there shouldn't be a compelling reason to do this kind of limitation. 3. Creating a snapshot automatically creates a baseline in each component that has changes, so creating a snapshot is sufficient. Cheers, Geoff On 8/5/2011 11:38 AM, hujirong wrote: 1. Currently the project team is using "continuous interval" |
The problem now is the project team want to pause the build from 7pm to 7am no matter there is a change or not. Is there any mechanism we can use to achieve this script, pre-action, whatever? Thanks Jirong |
Geoffrey Clemm (30.1k●3●30●35)
| answered Aug 06 '11, 5:10 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
A simple approach is to just add a command to the build script that
exits without building if the clock time is between 7pm and 7am. Just for interest's sake, why does the team want to turn off continuous builds at night? Cheers, Geoff On 8/6/2011 8:38 AM, hujirong wrote: gmclemmwrote: |
I know this topic is old, but i think the ability to turn off CI during certain times of the day is valuable, especially in large systems that leverage Build forge. We face problems around 4:15 EST every day because our BF server gets hit with around 50 build in a matter of 5 sec. This prevents people from log into BF because the application is so busy kicking off builds. Serveral of these projects are based over seas, and have zero development going on at that time of the day, therefore it is creating useless load on the servers. Having the ability to create a cron style schedule would be an ideal solution. |
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.