]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-ansible-prs-xenial-cluster: create a config
authorAlfredo Deza <adeza@redhat.com>
Tue, 22 Nov 2016 20:00:37 +0000 (15:00 -0500)
committerAlfredo Deza <adeza@redhat.com>
Tue, 22 Nov 2016 20:03:23 +0000 (15:03 -0500)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
ceph-ansible-prs-xenial-cluster/config/definitions/ceph-ansible-prs-xenial-cluster.yml [new file with mode: 0644]

diff --git a/ceph-ansible-prs-xenial-cluster/config/definitions/ceph-ansible-prs-xenial-cluster.yml b/ceph-ansible-prs-xenial-cluster/config/definitions/ceph-ansible-prs-xenial-cluster.yml
new file mode 100644 (file)
index 0000000..0ebe070
--- /dev/null
@@ -0,0 +1,62 @@
+- job:
+    name: ceph-ansible-prs-xenial-cluster
+    node: vagrant&&ceph-ansible
+    concurrent: true
+    defaults: global
+    display-name: 'ceph-ansible: Pull Requests [xenial-cluster]'
+    quiet-period: 5
+    block-downstream: false
+    block-upstream: false
+    retry-count: 3
+    properties:
+      - github:
+          url: https://github.com/ceph/ceph-ansible
+    logrotate:
+      daysToKeep: 15
+      numToKeep: 30
+      artifactDaysToKeep: -1
+      artifactNumToKeep: -1
+
+    parameters:
+      - string:
+          name: sha1
+          description: "A pull request ID, like 'origin/pr/72/head'"
+
+    triggers:
+      - github-pull-request:
+          allow-whitelist-orgs-as-admins: true
+          org-list:
+            - ceph
+          trigger-phrase: 'jenkins test xenial-cluster'
+          only-trigger-phrase: false
+          github-hooks: true
+          permit-all: true
+          auto-close-on-fail: false
+          status-context: "Testing: xenial-cluster"
+          started-status: "Running: xenial-cluster"
+          success-status: "OK - xenial-cluster"
+          failure-status: "FAIL - xenial-cluster"
+
+    scm:
+      - git:
+          url: https://github.com/ceph/ceph-ansible.git
+          branches:
+            - ${sha1}
+          refspec: +refs/pull/*:refs/remotes/origin/pr/*
+          browser: auto
+          timeout: 20
+          skip-tag: true
+          wipe-workspace: false
+
+    builders:
+      - shell:
+          !include-raw:
+            - ../../../scripts/build_utils.sh
+            - ../../build/build
+
+    publishers:
+      - postbuildscript:
+          script-only-if-succeeded: False
+          script-only-if-failed: True
+          builders:
+            - shell: !include-raw ../../build/teardown