]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
cephmetrics: Add default branch, forbid wipe 760/head
authorBoris Ranto <branto@redhat.com>
Fri, 23 Jun 2017 17:28:46 +0000 (19:28 +0200)
committerBoris Ranto <branto@redhat.com>
Fri, 23 Jun 2017 17:28:50 +0000 (19:28 +0200)
The build job does not work well with empty branch, we should provide a
default master branch to fix it.

It looks like it is not enough to remove the wipe-workspace line, it was
on even without that line. Adding wipe-workspace: false to hopefully fix
it.

Signed-off-by: Boris Ranto <branto@redhat.com>
cephmetrics/config/definitions/cephmetrics.yml

index 8bdf8ebaf68fb68c141bd0d134909e1b8b68e08d..2c4d722f2bef518092b6a47aef44c6f48a0bb841 100644 (file)
@@ -10,6 +10,7 @@
       - string:
           name: BRANCH
           description: "The git branch (or tag) to build"
+          default: "master"
 
       - string:
           name: DISTROS
@@ -72,6 +73,7 @@ If this is checked, then the binaries will be built and pushed to chacra even if
           branches:
             - $BRANCH
           skip-tag: true
+          wipe-workspace: false
 
     builders:
       - shell: |