From 4547bfdb8b923d71ca844eb25a22270aedd8cdd3 Mon Sep 17 00:00:00 2001 From: Boris Ranto Date: Thu, 18 May 2017 10:54:51 +0200 Subject: [PATCH] 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 --- .../config/definitions/samba-trigger.yml | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 samba-trigger/config/definitions/samba-trigger.yml 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 -- 2.39.5