X-Git-Url: https://gerrit.nordix.org/gitweb?a=blobdiff_plain;f=jjb%2Fopendaylight%2Fglobal-templates-opendaylight-push-upstream.yaml;h=9eea436c4f3ff358b49c62f897a5b52b1c9df75e;hb=3b5d5d8f359a4207872edf32773fdb72c3193eb7;hp=8a6fd2119dac34639dddbacde708423ebf8480b1;hpb=a9b3ba6f2745e10b8e91ef61dc7181eddf74c830;p=infra%2Fcicd.git diff --git a/jjb/opendaylight/global-templates-opendaylight-push-upstream.yaml b/jjb/opendaylight/global-templates-opendaylight-push-upstream.yaml index 8a6fd211..9eea436c 100644 --- a/jjb/opendaylight/global-templates-opendaylight-push-upstream.yaml +++ b/jjb/opendaylight/global-templates-opendaylight-push-upstream.yaml @@ -1,41 +1,44 @@ - job-template: - name: 'opendaylight-{project-name}-{stream}-push-upstream' + name: 'opendaylight-{project-name}-push-upstream' - node: infra-build01-ubuntu1804 + node: infra-ubuntu2004 disabled: false - concurrent: true + concurrent: false properties: - logrotate parameters: - - project-parameters: - project: 'opendaylight/{project}' - branch: '{branch}' + - string: + name: PROJECT + default: 'opendaylight/{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: 'opendaylight/{project}' - branch: '{branch}' + branch: '**' files: '**' wrappers: - build-timeout: timeout: 10 + - ssh-agent-credentials: + users: + - 'infra-upstream-gerrit-ssh-passphrase' + - 'nordixinfra-nordix-gerrit-ssh' builders: - shell: !include-raw-escape: ./push-upstream-jobs.sh - - publishers: - - notify-slack: - slack-channel: '#infra'