From bbf762bafbf75a3869f2b25412baa46bb0931609 Mon Sep 17 00:00:00 2001 From: Fatih Degirmenci Date: Fri, 15 May 2015 15:34:34 +0200 Subject: [PATCH] Remove unnecessary git parameters from foreman parameter macro JIRA: OCTO-47 Change-Id: I59d7323b972dea99efad09e514d87f5ccb054f28 Signed-off-by: Fatih Degirmenci --- jjb/genesis/genesis-foreman.yml | 56 ++++++++++++++++------------------------- 1 file changed, 21 insertions(+), 35 deletions(-) diff --git a/jjb/genesis/genesis-foreman.yml b/jjb/genesis/genesis-foreman.yml index 852264461..5fd1135d1 100644 --- a/jjb/genesis/genesis-foreman.yml +++ b/jjb/genesis/genesis-foreman.yml @@ -47,10 +47,10 @@ parameters: - project-parameter: project: '{project}' - - foreman-parameters: - installer: '{installer}' - gerrit-parameter: branch: 'master' + - foreman-parameter: + installer: '{installer}' scm: - gerrit-trigger-scm: @@ -105,10 +105,10 @@ parameters: - project-parameter: project: '{project}' - - foreman-parameters: - installer: '{installer}' - gerrit-parameter: branch: 'master' + - foreman-parameter: + installer: '{installer}' scm: - gerrit-trigger-scm: @@ -153,19 +153,17 @@ parameters: - project-parameter: project: '{project}' - - foreman-parameters: + - foreman-parameter: installer: '{installer}' scm: - - git: - skip-tag: true - url: $GIT_BASE - branches: - - $GERRIT_BRANCH - refspec: $GERRIT_REFSPEC + - git-scm: + credentials-id: '{ssh-credentials}' + refspec: '' + branch: master triggers: - - pollscm: '@midnight' + - timed: '@midnight' logrotate: daysToKeep: 30 @@ -202,16 +200,14 @@ parameters: - project-parameter: project: '{project}' - - foreman-parameters: + - foreman-parameter: installer: '{installer}' scm: - - git: - skip-tag: true - url: $GIT_BASE - branches: - - $GERRIT_BRANCH - refspec: $GERRIT_REFSPEC + - git-scm: + credentials-id: '{ssh-credentials}' + refspec: '' + branch: master builders: - 'foreman-build' @@ -235,16 +231,14 @@ parameters: - project-parameter: project: '{project}' - - foreman-parameters: + - foreman-parameter: installer: '{installer}' scm: - - git: - skip-tag: true - url: $GIT_BASE - branches: - - $GERRIT_BRANCH - refspec: $GERRIT_REFSPEC + - git-scm: + credentials-id: '{ssh-credentials}' + refspec: '' + branch: master builders: - 'foreman-deploy' @@ -253,7 +247,7 @@ # parameter macros ######################## - parameter: - name: foreman-parameters + name: foreman-parameter parameters: - string: name: INSTALLER @@ -271,14 +265,6 @@ name: GIT_BASE default: https://gerrit.opnfv.org/gerrit/$PROJECT description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW." - - string: - name: GERRIT_BRANCH - default: origin/master - description: "Branch to build, deploy and test." - - string: - name: GERRIT_REFSPEC - default: refs/heads/master - description: "Refspec to retrieve." - string: name: GS_URL default: artifacts.opnfv.org/$PROJECT/$INSTALLER -- 2.16.6