summaryrefslogtreecommitdiffstats
path: root/build-gluster-org/jobs/macros.yml
diff options
context:
space:
mode:
authorNigel Babu <nigelb@redhat.com>2016-09-14 15:21:02 +0530
committerMichael Scherer <misc@fedoraproject.org>2016-10-18 06:00:25 -0700
commit639bed9beb7b60efbbc724bb865f4efe4f0e4e0b (patch)
treeb0891b84c1bd8eb20d6277d193e97d2546f83f2a /build-gluster-org/jobs/macros.yml
parent1d360a7058ef3b456bba093a51028a606d6d0aed (diff)
Save all the macros into one file.
Change-Id: I127f8fe6bc1f108eae1ef84132e61eb69262f47f
Diffstat (limited to 'build-gluster-org/jobs/macros.yml')
-rw-r--r--build-gluster-org/jobs/macros.yml46
1 files changed, 46 insertions, 0 deletions
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