OPENDEV: Update jobs to track all OpenDev branches
The rebase and push-upstrem jobs are updated to track
and sync with Nordix gerrit all OpenDev branches.
Change-Id: I6c5acdfeeb6aa6cb333bb9d266cb3839f04d8228
diff --git a/jjb/opendev/global-templates-opendev-rebase.yaml b/jjb/opendev/global-templates-opendev-rebase.yaml
index fc5d391..b915c8b 100644
--- a/jjb/opendev/global-templates-opendev-rebase.yaml
+++ b/jjb/opendev/global-templates-opendev-rebase.yaml
@@ -1,5 +1,5 @@
- job-template:
- name: 'opendev-{project-name}-{stream}-rebase'
+ name: 'opendev-{project-name}-rebase'
node: infra-build01-ubuntu1804
@@ -11,11 +11,12 @@
- logrotate
parameters:
- - project-parameters:
- project: '{project}'
- branch: '{branch}'
- 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.
@@ -23,15 +24,15 @@
scm:
- git-scm:
ssh-credentials-id: nordixinfra-lfn-gerrit-ssh
- branch: '{branch}'
+ branch: 'master'
refspec: ''
- wipe_workspace: true
- clean_before: false
+ wipe_workspace: false
+ clean_before: true
triggers:
- opendev-gerrit-trigger-change-merged:
project: '{project}'
- branch: '{branch}'
+ branch: '**'
files: '**'
- timed: "@midnight"
@@ -41,7 +42,7 @@
builders:
- shell:
- !include-raw-escape: ../global/rebase-jobs.sh
+ !include-raw-escape: ./rebase-jobs.sh
publishers:
- notify-slack: