X-Git-Url: https://gerrit.nordix.org/gitweb?a=blobdiff_plain;f=jjb%2Fopendev%2Fglobal-templates-opendev-rebase.yaml;h=c8784ae2337cf62aa2d7d6fcaf6e0694d659741b;hb=e822e426c08c2d7f55e32f36053bd2910ddc11da;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..c8784ae2 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-ubuntu1804 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,13 +24,15 @@ 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" @@ -44,3 +47,7 @@ publishers: - notify-slack: slack-channel: '#infra' + notify-start: false + notify-success: false + notify-failure: true + notify-back-to-normal: true