--- /dev/null
+- job-template:
+ name: '{project-name}-{stream}-rebase'
+
+ node: ubuntu1804
+
+ disabled: false
+
+ concurrent: false
+
+ parameters:
+ - project-parameters:
+ project: '{project}'
+ branch: '{branch}'
+ - onap-gerrit-parameters
+ - string:
+ 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"
+ refspec: ''
+
+ triggers:
+ - onap-gerrit-trigger-change-merged:
+ project: '{project}'
+ branch: "$UPSTREAM_BRANCH"
+ files: '**'
+
+ builders:
+ - shell:
+ !include-raw-escape: ./rebase-jobs.sh