diff options
author | Amar Tumballi <amarts@redhat.com> | 2018-05-21 09:39:46 +0530 |
---|---|---|
committer | Amar Tumballi <amarts@redhat.com> | 2018-05-21 10:18:31 +0530 |
commit | 1d3feff49ce46b63ab27a744b052114d5a126f07 (patch) | |
tree | a828dbc4d022553ce4925394360ded9b43d5e6dc /build-gluster-org/jobs/regression-on-demand-full-run.yml | |
parent | 24fb19919a8e42b16d29595d944ee58df086745d (diff) |
add a job to run full regression through gerrit command
fixes: bz#1564119
Change-Id: Ib613cd98fdb8df8f96fc961c6a98fc92d00fd69a
Signed-off-by: Amar Tumballi <amarts@redhat.com>
Diffstat (limited to 'build-gluster-org/jobs/regression-on-demand-full-run.yml')
-rw-r--r-- | build-gluster-org/jobs/regression-on-demand-full-run.yml | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/build-gluster-org/jobs/regression-on-demand-full-run.yml b/build-gluster-org/jobs/regression-on-demand-full-run.yml new file mode 100644 index 0000000..b8d38f8 --- /dev/null +++ b/build-gluster-org/jobs/regression-on-demand-full-run.yml @@ -0,0 +1,61 @@ +- job: + name: regression-on-demand-full-run + node: centos7 + description: Run regression with exit-on-failure set to no. ie., the full regression set even if there are failures. + 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 full 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-burn-in.sh + + wrappers: + - timestamps + - timeout: + timeout: 450 + abort: true + type: absolute |