X-Git-Url: https://gerrit.nordix.org/gitweb?a=blobdiff_plain;f=jjb%2Fopendaylight%2Fglobal-templates-opendaylight-push-upstream.yaml;h=dc0b1dad559dcc73a6ab0db52bac8f0d15da1886;hb=b2205c4e7fafbadc724db1da0c2c7c1e58370e9c;hp=60f491dbc25441e6c868ade18f91d01f6d0b4b54;hpb=28e1041f3891e5369fd8a6ba3434982c0404efcb;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 60f491db..dc0b1dad 100644 --- a/jjb/opendaylight/global-templates-opendaylight-push-upstream.yaml +++ b/jjb/opendaylight/global-templates-opendaylight-push-upstream.yaml @@ -1,7 +1,7 @@ - job-template: - name: 'opendaylight-{project-name}-{stream}-push-upstream' + name: 'opendaylight-{project-name}-push-upstream' - node: infra-build01-ubuntu1804 + node: infra-ubuntu1804 disabled: false @@ -11,15 +11,16 @@ - 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 @@ -27,17 +28,16 @@ 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' builders: - shell: !include-raw-escape: ./push-upstream-jobs.sh - - publishers: - - notify-slack: - slack-channel: '#infra'