X-Git-Url: https://gerrit.nordix.org/gitweb?a=blobdiff_plain;f=jjb%2Facumos%2Fglobal-templates-acumos-rebase.yaml;h=1a25eb3f726f190c3374a22e30a5485fbda05b68;hb=591f1b850cb87f7ed424fd8a6063624f71e25c6d;hp=994c9236d9a1b306180e511ae74744d989caaed8;hpb=b113852c4b3d4f1bd9616ad904e767c608a6012d;p=infra%2Fcicd.git diff --git a/jjb/acumos/global-templates-acumos-rebase.yaml b/jjb/acumos/global-templates-acumos-rebase.yaml index 994c9236d..1a25eb3f7 100644 --- a/jjb/acumos/global-templates-acumos-rebase.yaml +++ b/jjb/acumos/global-templates-acumos-rebase.yaml @@ -1,5 +1,5 @@ - job-template: - name: 'acumos-{project-name}-{stream}-rebase' + name: 'acumos-{project-name}-rebase' node: infra-build01-ubuntu1804 @@ -11,10 +11,11 @@ - logrotate parameters: - - project-parameters: - project: '{project}' - branch: '{branch}' - acumos-gerrit-parameters + - string: + name: PROJECT + default: '{project}' + description: JJB configured PROJECT parameter to identify a Nordix Gerrit project - string: name: NORDIX_REMOTE default: 'ssh://infra@gerrit.nordix.org:29418/acumos/{project}.git' @@ -23,15 +24,15 @@ scm: - git-scm: ssh-credentials-id: nordixinfra-lfn-gerrit-ssh - branch: '{branch}' + branch: 'master' refspec: '' - wipe_workspace: true - clean_before: false + wipe_workspace: false + clean_before: true triggers: - acumos-gerrit-trigger-change-merged: project: '{project}' - branch: '{branch}' + branch: '**' files: '**' - timed: "@midnight" @@ -41,8 +42,8 @@ builders: - shell: - !include-raw-escape: ../global/rebase-jobs.sh + !include-raw-escape: ./rebase-jobs.sh publishers: - notify-slack: - slack-channel: '#acumos' + slack-channel: '#infra'