X-Git-Url: https://gerrit.nordix.org/gitweb?a=blobdiff_plain;f=jjb%2Fglobal%2Fjjb-macros.yaml;h=2669bc8a8da46c0ab4e2d1b708f1a242e6fbb122;hb=refs%2Fchanges%2F12%2F1712%2F5;hp=534e61c8d085c0be70e7a05fd2e65bd05e7d50c1;hpb=1880fba206ad0d9f6c3e507e6ad4691095a0ceb9;p=infra%2Fcicd.git diff --git a/jjb/global/jjb-macros.yaml b/jjb/global/jjb-macros.yaml index 534e61c8..2669bc8a 100644 --- a/jjb/global/jjb-macros.yaml +++ b/jjb/global/jjb-macros.yaml @@ -116,7 +116,7 @@ artifact-days-to-keep: 60 artifact-num-to-keep: 200 -# defaults for SCM and Gerrit +# defaults for SCM, Gerrit and GitHub - scm: name: git-scm scm: @@ -161,6 +161,28 @@ before: '{clean_before}' choosing-strategy: 'gerrit' +- scm: + name: git-scm-github + scm: + - git: + url: 'https://github.com/$PROJECT.git' + branches: + - '*/{branch}' + refspec: '{refspec}' + timeout: 15 + per-build-tag: false + skip-tag: true + shallow-clone: false + use-author: false + ignore-notify: false + wipe-workspace: '{wipe_workspace}' + prune: false + clean: + after: false + before: '{clean_before}' + choosing-strategy: 'default' + basedir: '{base_dir}' + # triggers for Nordix Gerrit - trigger: name: nordix-gerrit-trigger-patchset-created