X-Git-Url: https://gerrit.nordix.org/gitweb?a=blobdiff_plain;f=jjb%2Facumos%2Fglobal-templates-acumos-push-upstream.yaml;h=03e6d9efb1dacdc6dac72092800e37cd64a5ba52;hb=da34a7e7f4dcde72375f2e3e025e6607e3218e84;hp=a4e1f6e9bb2c643457ae4936f929d00fe5f02948;hpb=16ccc35c14f89dcd2c4f018adbe36a60e59e35b0;p=infra%2Fcicd.git diff --git a/jjb/acumos/global-templates-acumos-push-upstream.yaml b/jjb/acumos/global-templates-acumos-push-upstream.yaml index a4e1f6e9..03e6d9ef 100644 --- a/jjb/acumos/global-templates-acumos-push-upstream.yaml +++ b/jjb/acumos/global-templates-acumos-push-upstream.yaml @@ -1,41 +1,43 @@ - job-template: - name: 'acumos-{project-name}-{stream}-push-upstream' + name: 'acumos-{project-name}-push-upstream' - node: onap-ubuntu1604 + node: infra-ubuntu1804 disabled: false - concurrent: true + concurrent: false properties: - logrotate parameters: - - project-parameters: - project: '{project}' - branch: '{branch}' + - string: + name: PROJECT + default: 'acumos/{project}' + description: JJB configured PROJECT parameter to identify a Nordix Gerrit project - nordix-gerrit-parameters scm: - git-scm-gerrit: ssh-credentials-id: nordixinfra-nordix-gerrit-ssh - branch: '{branch}' + branch: $GERRIT_BRANCH refspec: $GERRIT_REFSPEC + wipe_workspace: true + clean_before: false triggers: - nordix-gerrit-push-upstream: - project: '{project}' - branch: '{branch}' + project: 'acumos/{project}' + branch: '**' files: '**' wrappers: - build-timeout: timeout: 10 + - ssh-agent-credentials: + users: + - 'infra-upstream-gerrit-ssh-passphrase' builders: - shell: !include-raw-escape: ./push-upstream-jobs.sh - - publishers: - - notify-slack: - slack-channel: '#infra'