From 639bed9beb7b60efbbc724bb865f4efe4f0e4e0b Mon Sep 17 00:00:00 2001 From: Nigel Babu Date: Wed, 14 Sep 2016 15:21:02 +0530 Subject: Save all the macros into one file. Change-Id: I127f8fe6bc1f108eae1ef84132e61eb69262f47f --- build-gluster-org/jobs/macros.yml | 46 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 build-gluster-org/jobs/macros.yml (limited to 'build-gluster-org/jobs/macros.yml') diff --git a/build-gluster-org/jobs/macros.yml b/build-gluster-org/jobs/macros.yml new file mode 100644 index 0000000..6d3aff3 --- /dev/null +++ b/build-gluster-org/jobs/macros.yml @@ -0,0 +1,46 @@ +- scm: + name: glusterfs + scm: + - git: + branches: + - $GERRIT_BRANCH + refspec: $GERRIT_REFSPEC + choosing-strategy: gerrit + url: git://review.gluster.org/glusterfs.git + +- property: + name: discard-after-x + properties: + - build-discarder: + days-to-keep: '{x}' + num-to-keep: '{x}' + artifact-days-to-keep: '{x}' + artifact-num-to-keep: '{x}' + +- property: + name: one-build-per-node + properties: + - throttle: + max-per-node: 1 + enabled: true + option: project + +- publisher: + name: rpm + publishers: + - archive: + allow-empty: false + artifacts: RPMS/** + default-excludes: true + fingerprint: false + only-if-success: false + +- publisher: + name: strfmt-build-log + publishers: + - archive: + allow-empty: false + artifacts: RPMS/el6/i686/build.log + default-excludes: true + fingerprint: false + only-if-success: false -- cgit