From 1156c9fd6894232467b12a5d7b0510cf6bf08fdb Mon Sep 17 00:00:00 2001 From: Tamas Lendvay Date: Thu, 17 Oct 2019 16:54:26 +0300 Subject: [PATCH] Merge job scm pull origin/master/HEAD Issue: REC-453 Change-Id: I1eb1368952868f5caa3e33e06003ab35e852b901 Signed-off-by: Tamas Lendvay --- .../akraino-ta-common-macros.yaml | 26 ++++++++++++++++++++++ .../akraino-ta-common-templates.yaml | 3 +-- 2 files changed, 27 insertions(+), 2 deletions(-) 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: -- 2.16.6