From: Tamas Lendvay Date: Thu, 17 Oct 2019 13:54:26 +0000 (+0300) Subject: Merge job scm pull origin/master/HEAD X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=commitdiff_plain;h=1156c9fd6894232467b12a5d7b0510cf6bf08fdb;p=ci-management.git Merge job scm pull origin/master/HEAD Issue: REC-453 Change-Id: I1eb1368952868f5caa3e33e06003ab35e852b901 Signed-off-by: Tamas Lendvay --- diff --git a/jjb/akraino-templates/akraino-ta-common-macros.yaml b/jjb/akraino-templates/akraino-ta-common-macros.yaml index bc46b57..a655fdd 100644 --- a/jjb/akraino-templates/akraino-ta-common-macros.yaml +++ b/jjb/akraino-templates/akraino-ta-common-macros.yaml @@ -73,6 +73,32 @@ choosing-strategy: '{choosing-strategy}' basedir: '{basedir}' +- scm: + name: ta-lf-infra-gerrit-scm-merge + scm: + - ta-lf-infra-gerrit-scm: + jenkins-ssh-credential: '{jenkins-ssh-credential}' + git-url: '{git-url}' + refspec: '{refspec}' + branch: '{branch}' + submodule-recursive: '{submodule-recursive}' + submodule-timeout: '{submodule-timeout}' + basedir: '{basedir}' + choosing-strategy: default + +- scm: + name: ta-lf-infra-gerrit-scm-verify + scm: + - ta-lf-infra-gerrit-scm: + jenkins-ssh-credential: '{jenkins-ssh-credential}' + git-url: '{git-url}' + refspec: '{refspec}' + branch: '{branch}' + submodule-recursive: '{submodule-recursive}' + submodule-timeout: '{submodule-timeout}' + basedir: '{basedir}' + choosing-strategy: gerrit + ########### # BUILDER # ########### diff --git a/jjb/akraino-templates/akraino-ta-common-templates.yaml b/jjb/akraino-templates/akraino-ta-common-templates.yaml index ca09e1a..d340775 100644 --- a/jjb/akraino-templates/akraino-ta-common-templates.yaml +++ b/jjb/akraino-templates/akraino-ta-common-templates.yaml @@ -46,14 +46,13 @@ jenkins-ssh-credential: '{jenkins-ssh-credential}' scm: - - ta-lf-infra-gerrit-scm: + - ta-lf-infra-gerrit-scm-{project-type}: jenkins-ssh-credential: '{jenkins-ssh-credential}' git-url: '{git-url}/{project}.git' refspec: '$GERRIT_REFSPEC' branch: '$GERRIT_BRANCH' submodule-recursive: '{submodule-recursive}' submodule-timeout: '{submodule-timeout}' - choosing-strategy: 'gerrit' basedir: '$GERRIT_PROJECT' triggers: