X-Git-Url: https://gerrit.nordix.org/gitweb?a=blobdiff_plain;f=jjb%2Fonap%2Fglobal-templates-onap-rebase.yaml;h=f002b5d15b02215e26715a21680c3d51ac6b507f;hb=72c2eef6463cae46fffd5180f192114431410693;hp=3ae17f9ac68d19fdcc6507976835a622cf52db9e;hpb=f63577d1695c69a72ebf7393647964381f4585b1;p=infra%2Fcicd.git diff --git a/jjb/onap/global-templates-onap-rebase.yaml b/jjb/onap/global-templates-onap-rebase.yaml index 3ae17f9a..f002b5d1 100644 --- a/jjb/onap/global-templates-onap-rebase.yaml +++ b/jjb/onap/global-templates-onap-rebase.yaml @@ -1,20 +1,18 @@ - job-template: - name: 'onap-{project-name}-{stream}-rebase' - - node: infra-ubuntu1804 - + name: 'onap-{project-name}-rebase' + node: infra-ubuntu2004 disabled: false - concurrent: false properties: - logrotate parameters: - - project-parameters: - project: '{project}' - branch: '{branch}' - onap-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/onap/{project}.git' @@ -23,21 +21,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: - onap-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 +47,7 @@ publishers: - notify-slack: slack-channel: '#infra' + notify-start: false + notify-success: false + notify-failure: true + notify-back-to-normal: true