From: Boris Ranto Date: Thu, 18 May 2017 08:54:51 +0000 (+0200) Subject: samba-trigger: Trigger build on commits X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=4547bfdb8b923d71ca844eb25a22270aedd8cdd3;p=ceph-build.git samba-trigger: Trigger build on commits This will trigger a samba build on push to any of master* ceph* or wip-* branches. Signed-off-by: Boris Ranto --- diff --git a/samba-trigger/config/definitions/samba-trigger.yml b/samba-trigger/config/definitions/samba-trigger.yml new file mode 100644 index 00000000..12bd7ac1 --- /dev/null +++ b/samba-trigger/config/definitions/samba-trigger.yml @@ -0,0 +1,38 @@ +- job: + name: samba-trigger + node: master + project-type: freestyle + defaults: global + quiet-period: 5 + block-downstream: false + block-upstream: false + properties: + - github: + url: https://github.com/ceph/samba + discard-old-builds: true + logrotate: + daysToKeep: 1 + numToKeep: 10 + artifactDaysToKeep: -1 + artifactNumToKeep: -1 + + triggers: + - github + + scm: + - git: + url: https://github.com/ceph/samba.git + branches: + - 'origin/ceph*' + - 'origin/master*' + - 'origin/wip-*' + skip-tag: true + timeout: 20 + wipe-workspace: true + + builders: + - trigger-builds: + - project: 'samba' + predefined-parameters: | + BRANCH=${GIT_BRANCH} + FORCE=True