|
|
|
[
Permlink
| « Hide
]
Robin Shen [24/Jul/19 01:05 AM]
Refer to https://support.pmease.com/PMEase/QuickBuild/topics/4119/gerrit-event-triggering-qb?0
With QB9, it is already possible to only build against open changes with new patch sets. This is what I am done:
1. Define a configuration and add a gerrit repository 2. Add relevant steps to checkout the gerrit repository and build against it 3. Make sure build condition of the configuration is set to "if changes found in referenced repositories" 4. Now schedule the configuration. When scheduled time reaches for the first time, all open changes will be built, as there is no previous build to determine patch set change. After that when scheduled time reaches again, all open changes will fire build requests, however only those with new patch sets will actually generate a build. Those without new patch sets will be ignored as there is no changes since previous run. Please verify. Also if option "Queue Changed Branches Only" is enabled in advanced setting of the configuration, the build request itself will not be queued for changes without new patch sets to save more resource.
|