X-Git-Url: https://gerrit.nordix.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=jjb%2Fonap%2Fglobal-templates-onap-rebase.yaml;fp=jjb%2Fonap%2Fglobal-templates-onap-rebase.yaml;h=74da77b7a21b282f636c9b1f12fd091bf2e9f5a9;hb=e53f009e429bb4c792a1920f2c5ff71742f52250;hp=0000000000000000000000000000000000000000;hpb=c90ddaf974baf3f42849b74e869cfa22c775df33;p=infra%2Fcicd.git diff --git a/jjb/onap/global-templates-onap-rebase.yaml b/jjb/onap/global-templates-onap-rebase.yaml new file mode 100644 index 00000000..74da77b7 --- /dev/null +++ b/jjb/onap/global-templates-onap-rebase.yaml @@ -0,0 +1,46 @@ +- job-template: + name: 'onap-{project-name}-{stream}-rebase' + + node: infra-build01-ubuntu1804 + + disabled: false + + concurrent: false + + properties: + - logrotate + + parameters: + - project-parameters: + project: '{project}' + branch: '{branch}' + - onap-gerrit-parameters + - string: + name: NORDIX_REMOTE + default: 'ssh://infra@gerrit.nordix.org:29418/onap/{project}.git' + description: The remote to add for Nordix. + + scm: + - git-scm: + ssh-credentials-id: nordixinfra-lfn-gerrit-ssh + branch: '{branch}' + refspec: '' + + triggers: + - onap-gerrit-trigger-change-merged: + project: '{project}' + branch: '{branch}' + files: '**' + - timed: "@midnight" + + wrappers: + - build-timeout: + timeout: 10 + + builders: + - shell: + !include-raw-escape: ../global/rebase-jobs.sh + + publishers: + - notify-slack: + slack-channel: '#infra'