diff options
author | Andrew Grimberg <agrimberg@linuxfoundation.org> | 2017-02-08 12:40:56 -0800 |
---|---|---|
committer | Andrew Grimberg <agrimberg@linuxfoundation.org> | 2017-02-08 12:40:56 -0800 |
commit | 1ac7c2ddcc72a358175e821b8191e3cb13304ae7 (patch) | |
tree | 777c4b95763675c5e99a54fcf5bba31859d01f48 /jjb/global-macros.yaml | |
parent | 8ccaba19a050e63c2be2625a69ac9b4e952898ef (diff) |
Add script verify and multi-scm script verify
* Add example templates for doing verify jobs that use a script instead of
maven
* Add new 'git-extra-project' macro for doing git checkouts that are not
the base project checkout. These _must_ be checked out to a specified
subdirectory
* Add example template that does two git checkouts
Change-Id: I522da87d591ee819a8fd67c22e25906b851a581e
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
Diffstat (limited to 'jjb/global-macros.yaml')
-rw-r--r-- | jjb/global-macros.yaml | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/jjb/global-macros.yaml b/jjb/global-macros.yaml index d2068a828..a9681033f 100644 --- a/jjb/global-macros.yaml +++ b/jjb/global-macros.yaml @@ -1,6 +1,8 @@ --- # Global macros +# vim: sw=2 ts=2 sts=2 et : + # BUILDERS - builder: name: ci-management-check-unicode @@ -160,7 +162,7 @@ url: '$GIT_BASE' refspec: '' branches: - - 'origin/${branch}' + - 'origin/{branch}' skip-tag: true wipe-workspace: true timeout: 30 @@ -205,6 +207,21 @@ timeout: 30 wipe-workspace: true +- scm: + name: git-extra-project + scm: + - git: + credentials-id: 'ecomp-jenkins-ssh' + url: '$GIT_NO_PROJECT/{project}' + refspec: '{refspec}' + branches: + - 'origin/{branch}' + skip-tag: true + timeoute: 30 + wipe-workspace: false + basedir: '{checkout-dir}' + + # TRIGGERS # This is a single macro to use for all jobs who vote on every (relevant) patch |