I added a feature to IBM's Jenkins setup yesterday that other orgs doing
Jenkins CI testing might find helpful to add as well.

We have the retest target for all of the Jenkins systems to re-test a
particular PR:
 *bot:retest*

I wanted an additional target that would trigger only the IBM Jenkins to
re-test. This is helpful if we have a local issue with our Jenkins setup
and don't want to force all of the Jenkins CI tests to fire at other
organizations.

So as of today you can specify the following to just get the IBM CI tests
to re-test:
 *bot:ibm:retest*

It might take a few minutes to kick off the build since we use a polling
model (~2-5 minutes), but it will kick off only the IBM Jenkins CI tests.
You can still use the "bot:retest" target to trigger all of the Jenkins
services including IBM to re-test.

I hope folks find this useful when working on PRs.

-- Josh


For those organizations interested in how to set this up here are the
instructions - just adjusting the regular expression used in the build
trigger:

1) Enter the 'configuration' in the Jenkins project you have setup to track
GitHub PRs
2) Under "Build Triggers" -> "GitHub Pull Request Builder"
 - Click on "Advanced..."
 - Set "Trigger phrase" to
  .*bot:(ibm:)?retest.*

Set the 'ibm' to your organization's short name, whatever you want it to
be. Then let the list know.

Reply via email to