X-Git-Url: https://gerrit.nordix.org/gitweb?a=blobdiff_plain;f=jjb%2Facumos%2Fglobal-templates-acumos-rebase.yaml;fp=jjb%2Facumos%2Fglobal-templates-acumos-rebase.yaml;h=e26e872eacb2d6598305a673335532be6b1210e1;hb=1e7b337036566297daf0f899a6bf4d6631491f3a;hp=0000000000000000000000000000000000000000;hpb=afcffb6387616bd638f7883c02bfb6f2e6fa4c53;p=infra%2Fcicd.git diff --git a/jjb/acumos/global-templates-acumos-rebase.yaml b/jjb/acumos/global-templates-acumos-rebase.yaml new file mode 100644 index 000000000..e26e872ea --- /dev/null +++ b/jjb/acumos/global-templates-acumos-rebase.yaml @@ -0,0 +1,46 @@ +- job-template: + name: 'acumos-{project-name}-{stream}-rebase' + + node: infra-build01-ubuntu1804 + + disabled: false + + concurrent: false + + properties: + - logrotate + + parameters: + - project-parameters: + project: '{project}' + branch: '{branch}' + - acumos-gerrit-parameters + - string: + name: NORDIX_REMOTE + default: 'ssh://infra@gerrit.nordix.org:29418/acumos/{project}.git' + description: The remote to add for Nordix. + + scm: + - git-scm: + ssh-credentials-id: nordixinfra-lfn-gerrit-ssh + branch: '{branch}' + refspec: '' + + triggers: + - acumos-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: '#acumos'