diff options
author | Nigel Babu <nigelb@redhat.com> | 2018-04-17 11:27:58 +0530 |
---|---|---|
committer | Nigel Babu <nigelb@redhat.com> | 2018-04-17 11:39:27 +0530 |
commit | 4ee4887956dd0f2fba3409748b863943118c8f21 (patch) | |
tree | 9b98fc534e9fc4a768ce480b67057e841541a4c2 /build-gluster-org/jobs/regression-on-demand-multiplex.yml | |
parent | fc86b804a1aa4b7d7f28c64e42bf1a4f9c12502d (diff) |
Add a new job to run brick-mux tests on-demand
Change-Id: I87115cb7ca9e8f315ee35c4431005155bbc725fd
Diffstat (limited to 'build-gluster-org/jobs/regression-on-demand-multiplex.yml')
-rw-r--r-- | build-gluster-org/jobs/regression-on-demand-multiplex.yml | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/build-gluster-org/jobs/regression-on-demand-multiplex.yml b/build-gluster-org/jobs/regression-on-demand-multiplex.yml new file mode 100644 index 0000000..8a4ebaf --- /dev/null +++ b/build-gluster-org/jobs/regression-on-demand-multiplex.yml @@ -0,0 +1,61 @@ +- job: + name: regression-on-demand-multiplex + node: centos7 + description: Run regression with brick multiplex on demand on a patch + project-type: freestyle + concurrent: true + + scm: + - git: + branches: + - $GERRIT_BRANCH + refspec: $GERRIT_REFSPEC + choosing-strategy: gerrit + url: git://review.gluster.org/glusterfs.git + wipe-workspace: false + + properties: + - discard-after-x: + x: 30 + - one-build-per-node + + triggers: + - gerrit: + server-name: review.gluster.org + trigger-on: + - comment-added-contains-event: + comment-contains-value: "run brick-mux regression" + + projects: + - project-compare-type: 'PLAIN' + project-pattern: 'glusterfs' + branches: + - branch-compare-type: 'ANT' + branch-pattern: '**' + + publishers: + - post-tasks: + - matches: + - log-text: Build was aborted + script: !include-raw: ../scripts/regression-abort.sh + - gluster-logs + + parameters: + - string: + default: refs/heads/master + description: 'For review 12345 and patch set 6, this will be refs/changes/45/12345/6. Default: Tip of master' + name: GERRIT_REFSPEC + - string: + default: master + description: 'Name of the branch you want to build from. We usually build from master' + name: GERRIT_BRANCH + + builders: + - shell: !include-raw: ../scripts/regression-test-with-multiplex.sh + + wrappers: + - timestamps + - timeout: + timeout: 450 + abort: true + type: absolute |