X-Git-Url: https://gerrit.nordix.org/gitweb?a=blobdiff_plain;f=jjb%2Fopendaylight%2Fglobal-templates-opendaylight-push-upstream.yaml;h=dc0b1dad559dcc73a6ab0db52bac8f0d15da1886;hb=0ee3a58e3bb006f6facec5472acd2ea40d128716;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..dc0b1dad 100644 --- a/jjb/opendaylight/global-templates-opendaylight-push-upstream.yaml +++ b/jjb/opendaylight/global-templates-opendaylight-push-upstream.yaml @@ -1,41 +1,43 @@ - job-template: - name: 'opendaylight-{project-name}-{stream}-push-upstream' + name: 'opendaylight-{project-name}-push-upstream' - node: infra-build01-ubuntu1804 + node: infra-ubuntu1804 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' builders: - shell: !include-raw-escape: ./push-upstream-jobs.sh - - publishers: - - notify-slack: - slack-channel: '#infra'