diff options
author | Andrew Grimberg <agrimberg@linuxfoundation.org> | 2016-02-08 15:33:58 -0800 |
---|---|---|
committer | Andrew Grimberg <agrimberg@linuxfoundation.org> | 2016-02-08 15:33:58 -0800 |
commit | dfbc88c5cd0be065fe7722efeae20c0ff6f42cdd (patch) | |
tree | bae8460e8389f68a734098f8f222167cc4e44b33 /jjb/global-macros.yaml | |
parent | 9a628bb67733d4d51fc4b9fa419f99b4927d3ac8 (diff) |
Add new zuul-trigger-scm macro
Add a new macro for zuul triggered scm
Change-Id: Ib23b7ba3d802339951e57a864a0fa40d954de5de
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
Diffstat (limited to 'jjb/global-macros.yaml')
-rw-r--r-- | jjb/global-macros.yaml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/jjb/global-macros.yaml b/jjb/global-macros.yaml index dc30fbd55..d5fd41ee8 100644 --- a/jjb/global-macros.yaml +++ b/jjb/global-macros.yaml @@ -67,6 +67,17 @@ skip-tag: true choosing-strategy: '{choosing-strategy}' +- scm: + name: zuul-trigger-scm + scm: + - git: + url: '$ZUUL_URL/$ZUUL_PROJECT' + refspec: '{refspec}' + branches: + - 'origin/$ZUUL_BRANCH' + skip-tag: true + wipe-workspace: true + ###### WRAPPERS - wrapper: name: build-timeout |