diff options
Diffstat (limited to 'build-gluster-org/jobs/epel7-rpms.yml')
-rw-r--r-- | build-gluster-org/jobs/epel7-rpms.yml | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/build-gluster-org/jobs/epel7-rpms.yml b/build-gluster-org/jobs/epel7-rpms.yml new file mode 100644 index 0000000..426f46f --- /dev/null +++ b/build-gluster-org/jobs/epel7-rpms.yml @@ -0,0 +1,52 @@ +- project: + name: 'rpm' + buildversion: + - el7: + build_flag: epel-7-x86_64 + jobs: + - '{name}-{buildversion}' + +- job-template: + name: '{name}-{buildversion}' + node: rpm7 + 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: + - change-merged-event + 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-rpms.sh + + wrappers: + - timestamps |