X-Git-Url: https://gerrit.nordix.org/gitweb?a=blobdiff_plain;f=jjb%2Fonap%2Fglobal-templates-onap-push-upstream.yaml;h=6977e60a226f92dbec731741cdda8e2fe1b8da5e;hb=e2a74cef07236f07a0dbc0507b824a0faf344d7b;hp=339da3798c0bb74610cf57bb3b1539fc1df8be7b;hpb=7e507875f63896df2bfd2e3efe33da2a9521f6ad;p=infra%2Fcicd.git diff --git a/jjb/onap/global-templates-onap-push-upstream.yaml b/jjb/onap/global-templates-onap-push-upstream.yaml index 339da379..6977e60a 100644 --- a/jjb/onap/global-templates-onap-push-upstream.yaml +++ b/jjb/onap/global-templates-onap-push-upstream.yaml @@ -1,25 +1,23 @@ - job-template: - name: 'onap-{project-name}-{stream}-push-upstream' - - node: onap-ubuntu1604 - + name: 'onap-{project-name}-push-upstream' + node: infra-ubuntu1804 disabled: false - - concurrent: true + concurrent: false properties: - logrotate parameters: - - project-parameters: - project: 'onap/{project}' - branch: '{branch}' + - string: + name: PROJECT + default: 'onap/{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 @@ -27,17 +25,16 @@ triggers: - nordix-gerrit-push-upstream: project: 'onap/{project}' - branch: '{branch}' + 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'