Migrate gerrit push change to generic builder in global-jjb.
This is dependent on the change in global-jjb
I4d269a4dad6ddbd509a134306b61b2214194b479 release with
global-jjb v0.19.0.
https://jira.linuxfoundation.org/browse/RELENG-769
Change-Id: I3be1627eafccbbd93f5aa05ce0384f2cc66ea8eb
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
builders:
- autorelease-update-project-views
- autorelease-update-validate-projects
- - opendaylight-infra-push-gerrit-patch:
- project: 'releng/builder'
+ - lf-infra-push-gerrit-patch:
+ project: '{project}'
+ gerrit-user: 'jenkins-$SILO'
+ gerrit-host: 'git.opendaylight.org'
gerrit-topic: 'autorelease-update-validate-jobs-{stream}'
gerrit-commit-message: |
- Update validate autorelease projects for {stream}
+ 'Update validate autorelease projects for {stream}'
+ reviewers-email: 'release@lists.opendaylight.org'
publishers:
- lf-infra-publish
- shell: |
git status
git add jjb/integration/*.lst
- - opendaylight-infra-push-gerrit-patch:
- project: "releng/builder"
- gerrit-topic: "auto-update-csit-jobs-{stream}"
- gerrit-commit-message: "Auto Update CSIT Jobs to run for {stream}"
+ - lf-infra-push-gerrit-patch:
+ project: 'releng/builder'
+ gerrit-user: 'jenkins-$SILO'
+ gerrit-host: 'git.opendaylight.org'
+ gerrit-topic: 'auto-update-csit-jobs-{stream}'
+ gerrit-commit-message: 'Auto Update CSIT Jobs to run for {stream}'
+ reviewers-email: 'integration-dev@lists.opendaylight.org'
publishers:
- lf-infra-publish
builders:
- shell: !include-raw-escape: opendaylight-infra-update-image-list.sh
- - opendaylight-infra-push-gerrit-patch:
+ - lf-infra-push-gerrit-patch:
project: '{project}'
+ gerrit-user: 'jenkins-$SILO'
+ gerrit-host: 'git.opendaylight.org'
gerrit-topic: 'releng-update-cloud-image-list'
gerrit-commit-message: 'Update cloud image list docs'
+ reviewers-email: 'jluhrsen@redhat.com'
publishers:
- email-notification:
- shell: !include-raw: opendaylight-infra-stack.sh
- shell: !include-raw-escape: opendaylight-infra-copy-ssh-keys.sh
-- builder:
- name: opendaylight-infra-push-gerrit-patch
- # opendaylight-infra-push-gerrit-patch.sh allows a job to push a patch to
- # Gerrit in an automated fashion. This is meant for tasks that creates
- # the same patch regularly and needs the ability to detect if an unreviewed
- # patch already exists. In which case it will update the existing patch.
- #
- # Note: This patch assumes the $WORKSPACE contains the project repo with
- # the files changed already "git add" and waiting for a "git commit" call.
- #
- # This script requires the following JJB variables to be passed in:
- # {project} Gerrit project-name
- # {gerrit-topic} Gerrit topic, please make a unique topic.
- # {gerrit-commit-message} Commit message to assign to commit.
- # NOTE: Requires git review to be installed on node.
- builders:
- - shell: !include-raw: opendaylight-infra-push-gerrit-patch.sh
-
- builder:
name: distribute-build-url
# Place URL of the current run of a build job to a file at given path.