X-Git-Url: https://gerrit.nordix.org/gitweb?a=blobdiff_plain;f=jjb%2Fopendaylight%2Fglobal-templates-opendaylight-push-upstream.yaml;h=dc0b1dad559dcc73a6ab0db52bac8f0d15da1886;hb=bf7ab7f6b5c2ab5411d2cb1c8d98cc4384acddf3;hp=d1e6b500fba81361da6e9b99874dd3d82617411b;hpb=7e507875f63896df2bfd2e3efe33da2a9521f6ad;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 d1e6b500..dc0b1dad 100644 --- a/jjb/opendaylight/global-templates-opendaylight-push-upstream.yaml +++ b/jjb/opendaylight/global-templates-opendaylight-push-upstream.yaml @@ -1,25 +1,26 @@ - 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 @@ -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'