diff options
author | Nigel Babu <nigelb@redhat.com> | 2018-06-20 15:27:19 +0530 |
---|---|---|
committer | Nigel Babu <nigelb@redhat.com> | 2018-06-20 15:27:19 +0530 |
commit | 72a2c63590d18658c6ac6d4186a7497ceb81c213 (patch) | |
tree | da8b656ff1dbfadfe7f2c12ff420d304c7877666 /build-gluster-org/jobs/devrpms.yml | |
parent | e04f8f9493235790b54d415de9fd5f7453edae66 (diff) |
Fix the rpm jobs to not be duplicates
Change-Id: Id948cd84cd58180dd3d0f4dcc3306dcc2b81a0cc
Diffstat (limited to 'build-gluster-org/jobs/devrpms.yml')
-rw-r--r-- | build-gluster-org/jobs/devrpms.yml | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/build-gluster-org/jobs/devrpms.yml b/build-gluster-org/jobs/devrpms.yml new file mode 100644 index 0000000..c91610c --- /dev/null +++ b/build-gluster-org/jobs/devrpms.yml @@ -0,0 +1,66 @@ +- project: + name: 'devrpm' + version: + - fedora: + build_flag: fedora-28-x86_64 + node_name: fedora + - el6: + build_flag: epel-6-x86_64 + node_name: rpm7 + - el7: + build_flag: epel-7-x86_64 + node_name: rpm7 + jobs: + - '{name}-{version}' + +- job-template: + name: '{name}-{version}' + node: '{node_name}' + description: Creates RPMs for developers and those who need to verify the patch + project-type: freestyle + concurrent: true + + properties: + - discard-after-x: + x: 30 + - one-build-per-node + + scm: + - glusterfs + + triggers: + - gerrit: + trigger-on: + - patchset-created-event: + exclude-drafts: false + exclude-trivial-rebase: false + exclude-no-code-change: false + - draft-published-event + - comment-added-contains-event: + comment-contains-value: "recheck smoke" + server-name: review.gluster.org_for-smoke-jobs + projects: + - project-compare-type: 'PLAIN' + project-pattern: 'glusterfs' + branches: + - branch-compare-type: 'PLAIN' + branch-pattern: 'master' + + 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 + + publishers: + - rpm + + builders: + - shell: !include-raw: ../scripts/glusterfs-devrpms.sh + + wrappers: + - timestamps |