X-Git-Url: https://gerrit.nordix.org/gitweb?a=blobdiff_plain;f=jjb%2Fglobal%2Fglobal-templates-rebase.yaml;h=7ae7d228d392a2d3612e7f23b8cf41914255b293;hb=6881a59a7e27c049d996f426e0e154eee9366d9a;hp=19c3af7102e51744aa03727528f97d8828bb850b;hpb=4f908e58fd81cab916147fe92c291b48ef64042a;p=infra%2Fcicd.git diff --git a/jjb/global/global-templates-rebase.yaml b/jjb/global/global-templates-rebase.yaml index 19c3af71..7ae7d228 100644 --- a/jjb/global/global-templates-rebase.yaml +++ b/jjb/global/global-templates-rebase.yaml @@ -1,12 +1,15 @@ - job-template: name: '{project-name}-{stream}-rebase' - node: ubuntu1804 + node: infra-ubuntu1804 disabled: false concurrent: false + properties: + - logrotate + parameters: - project-parameters: project: '{project}' @@ -16,23 +19,34 @@ name: NORDIX_REMOTE default: 'ssh://infra@gerrit.nordix.org:29418/{project}.git' description: The remote to add for Nordix. - - string: - name: UPSTREAM_BRANCH - default: '{upstream-branch}' - description: The upstream branch to rebase against. scm: - git-scm: ssh-credentials-id: nordixinfra-lfn-gerrit-ssh - branch: "$UPSTREAM_BRANCH" + branch: '{branch}' refspec: '' + wipe_workspace: true + clean_before: false triggers: - onap-gerrit-trigger-change-merged: project: '{project}' - branch: "$UPSTREAM_BRANCH" + branch: '{branch}' files: '**' + - timed: "@midnight" + + wrappers: + - build-timeout: + timeout: 10 builders: - shell: !include-raw-escape: ./rebase-jobs.sh + + publishers: + - notify-slack: + slack-channel: '#infra' + notify-start: false + notify-success: false + notify-failure: true + notify-back-to-normal: true