X-Git-Url: https://gerrit.nordix.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=jjb%2Fopendev%2Fglobal-templates-opendev-rebase-test.yaml;fp=jjb%2Fopendev%2Fglobal-templates-opendev-rebase-test.yaml;h=0112cd82975ca696e572983529e9125bcc7aa89c;hb=f8c734adffeccfe60f7b582c2ab377ca62869dd5;hp=0000000000000000000000000000000000000000;hpb=81ffa8ff9c4f9477a362f6b89eb308e6ffc33f03;p=infra%2Fcicd.git diff --git a/jjb/opendev/global-templates-opendev-rebase-test.yaml b/jjb/opendev/global-templates-opendev-rebase-test.yaml new file mode 100644 index 00000000..0112cd82 --- /dev/null +++ b/jjb/opendev/global-templates-opendev-rebase-test.yaml @@ -0,0 +1,47 @@ +- job-template: + name: 'opendev-{project-name}-rebase' + + node: infra-build01-ubuntu1804 + + disabled: false + + concurrent: false + + properties: + - logrotate + + parameters: + - 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' + description: The remote to add for Nordix. + + scm: + - git-scm: + ssh-credentials-id: nordixinfra-lfn-gerrit-ssh + branch: '*' + refspec: '' + + triggers: + - opendev-gerrit-trigger-change-merged: + project: '{project}' + branch: '**' + files: '**' + - timed: "@midnight" + + wrappers: + - build-timeout: + timeout: 10 + + builders: + - shell: + !include-raw-escape: ./rebase-jobs.sh + + publishers: + - notify-slack: + slack-channel: '#infra'