I'm testing about a dozen applications, all written in PHP using Zend Framework, which do their unit testing with PHPUnit. I've recently turned off code coverage for all these builds, as many of them take 30+ minutes to finish a single build with code completion turned on, and 15-60 seconds to do a build with it turned off. I am starting to miss the nice charts which show the code coverage history though.
So, is there a way I can schedule a nightly build which happens when a change has occurred in the last 24 hours? For this build, I will have a custom variable set which will include the code coverage options for PHPUnit. I suppose I could have it do a nightly build whether or not a commit has occurred, but it seems like a waste of build numbers for some of our projects which aren't being actively worked on.
Can anyone think of a way to do this, or a better alternative I'm totally missing?
If there is another trigger set (Stash Repository Triggered, the default one) will it see changes? Or will it know that a build was already done earlier in the day which built off that code change? I also just realized there doesn't seem to be a way to set custom variables to different values within the triggers... Is there a way to trigger a build manually with custom parameters outside of Bamboo's UI? Like maybe a linux cron job?
Sorry for not coming back to you earlier. If you have 2 triggers on a plan, they 'share' the history. So if Stash triggers the build, the polling later on will not trigger it again. You can use /queue REST resource to start build from a script. If you add params in form of "bamboo.variableName" to the query string, bamboo will use those to override respective global/plan variables.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs