]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-pr-docs: only get triggered on prs 811/head
authorAlfredo Deza <adeza@redhat.com>
Tue, 1 Aug 2017 12:45:17 +0000 (08:45 -0400)
committerAlfredo Deza <adeza@redhat.com>
Tue, 1 Aug 2017 17:36:59 +0000 (13:36 -0400)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
ceph-pr-docs/config/definitions/ceph-pr-docs.yml

index bd777bd63757964a83e4a581c44822d7e240ad35..688d5f534b8125b4ead743742714e5927c8c7c64 100644 (file)
           allow-whitelist-orgs-as-admins: true
           org-list:
             - ceph
+          cancel-builds-on-update: true
           # this job is only triggered by explicitly asking for it
           only-trigger-phrase: true
           trigger-phrase: 'jenkins test docs'
           github-hooks: true
           permit-all: true
           auto-close-on-fail: false
-          status-context: "Testing: building docs"
-          started-status: "Building documentation"
+          status-context: "Docs: build check"
+          started-status: "Docs: building"
           success-status: "OK - docs built"
-          failure-status: "Docs failed with errors"
+          failure-status: "Docs: failed with errors"
 
     scm:
       - git:
           url: https://github.com/ceph/ceph
           browser: auto
+          branches:
+            - ${sha1}
+          refspec: +refs/pull/*:refs/remotes/origin/pr/*
           skip-tag: true
           timeout: 20
           wipe-workspace: true