X-Git-Url: https://gerrit.nordix.org/gitweb?a=blobdiff_plain;f=jjb%2Fglobal%2Fjjb-macros.yaml;h=7f71596e26a909ee1a8fcb51b981d3db92e495c1;hb=c8dcf1c591156a27f450e52dbfc039c5ab4849aa;hp=b9040e4a4f3e5057be53acde99430730ab616dd5;hpb=7e507875f63896df2bfd2e3efe33da2a9521f6ad;p=infra%2Fcicd.git diff --git a/jjb/global/jjb-macros.yaml b/jjb/global/jjb-macros.yaml index b9040e4a..7f71596e 100644 --- a/jjb/global/jjb-macros.yaml +++ b/jjb/global/jjb-macros.yaml @@ -5,7 +5,7 @@ parameters: - string: name: JJB_GIT_REPO - default: https://git.openstack.org/openstack-infra/jenkins-job-builder + default: https://review.opendev.org/jjb/jenkins-job-builder description: OpenStack JJB repo - string: name: JJB_VERSION @@ -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 @@ -372,7 +394,10 @@ publishers: - slack: room: '{slack-channel}' - notify-failure: True + notify-start: '{notify-start}' + notify-success: '{notify-success}' + notify-failure: '{notify-failure}' + notify-back-to-normal: '{notify-back-to-normal}' # property to discard old builds - property: