The JJB verify job always runs concurrently. By turning the concurrency
setting into a variable, users will be able to run the job serially,
which may be required on static nodes.
Issue: RELENG-1509
Change-Id: I4f2b51924a71674bbf2d4bbf8acc637971470eec
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
:Optional parameters:
:branch: Git branch to fetch for the build. (default: master)
+ :build-concurrent: Whether or not to allow this job to run multiple jobs
+ simultaneously. (default: true)
:build-days-to-keep: Days to keep build logs in Jenkins. (default: 7)
:build-timeout: Timeout in minutes before aborting build. (default: 10)
:git-url: URL clone project from. (default: $GIT_URL/$PROJECT)
# Default parameters #
######################
+ build-concurrent: true
+
gerrit_verify_triggers:
- patchset-created-event:
exclude-drafts: true
# Job Configuration #
#####################
- concurrent: true
+ concurrent: '{build-concurrent}'
builders:
- lf-infra-pre-build
--- /dev/null
+---
+features:
+ - |
+ Concurrency for the gerrit-jjb-verify job can now be configured by setting the 'build-concurrent' parameter.