X-Git-Url: https://gerrit.nordix.org/gitweb?a=blobdiff_plain;f=jjb%2Fopendev%2Fglobal-templates-opendev-rebase.yaml;h=18006da3ccf012a3b920f4c5c51d658d76b2c6c1;hb=72c2eef6463cae46fffd5180f192114431410693;hp=c376ed40c389bef498a8bb1e138e9f7a263e45ac;hpb=d377a80f70549e3626f90dc2b055c725a1fb3b30;p=infra%2Fcicd.git diff --git a/jjb/opendev/global-templates-opendev-rebase.yaml b/jjb/opendev/global-templates-opendev-rebase.yaml index c376ed40..18006da3 100644 --- a/jjb/opendev/global-templates-opendev-rebase.yaml +++ b/jjb/opendev/global-templates-opendev-rebase.yaml @@ -1,7 +1,7 @@ - job-template: - name: 'opendev-{project-name}-{stream}-rebase' + name: 'opendev-{project-name}-rebase' - node: infra-build01-ubuntu1804 + node: infra-ubuntu2004 disabled: false @@ -11,10 +11,11 @@ - logrotate parameters: - - project-parameters: - project: '{project}' - branch: '{branch}' - opendev-gerrit-parameters + - string: + name: PROJECT + default: '{project}' + description: JJB configured PROJECT parameter to identify a Nordix Gerrit project - string: name: NORDIX_REMOTE default: 'ssh://infra@gerrit.nordix.org:29418/opendev/{project}.git' @@ -23,19 +24,24 @@ scm: - git-scm: ssh-credentials-id: nordixinfra-lfn-gerrit-ssh - branch: '{branch}' + branch: 'master' refspec: '' + wipe_workspace: false + clean_before: true triggers: - opendev-gerrit-trigger-change-merged: project: '{project}' - branch: '{branch}' + branch: '**' files: '**' - timed: "@midnight" wrappers: - build-timeout: timeout: 10 + - ssh-agent-credentials: + users: + - 'nordixinfra-nordix-gerrit-ssh' builders: - shell: @@ -44,3 +50,7 @@ publishers: - notify-slack: slack-channel: '#infra' + notify-start: false + notify-success: false + notify-failure: true + notify-back-to-normal: true