X-Git-Url: https://gerrit.nordix.org/gitweb?a=blobdiff_plain;f=jjb%2Fopendev%2Fglobal-templates-opendev-rebase.yaml;h=18006da3ccf012a3b920f4c5c51d658d76b2c6c1;hb=5d1ea1cb38bf0d6baf8ffdd5564eeae39a002b96;hp=fc5d39150fcd3a3f465173fa76d0ebb01c4f9086;hpb=7e507875f63896df2bfd2e3efe33da2a9521f6ad;p=infra%2Fcicd.git diff --git a/jjb/opendev/global-templates-opendev-rebase.yaml b/jjb/opendev/global-templates-opendev-rebase.yaml index fc5d3915..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,21 +24,24 @@ scm: - git-scm: ssh-credentials-id: nordixinfra-lfn-gerrit-ssh - branch: '{branch}' + branch: 'master' refspec: '' - wipe_workspace: true - clean_before: false + 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: @@ -46,3 +50,7 @@ publishers: - notify-slack: slack-channel: '#infra' + notify-start: false + notify-success: false + notify-failure: true + notify-back-to-normal: true