Change in jenkins[master]: Support loader_main method for pipelines

Code Review gerrit at ovirt.org
Thu May 25 11:46:49 UTC 2017


>From Barak Korren <bkorren at redhat.com>:

Barak Korren has submitted this change and it was merged.

Change subject: Support loader_main method for pipelines
......................................................................


Support loader_main method for pipelines

The new method allows pipeline scripts to:
1. Get the loader script itself as a parameter and gain access to its
   methods
2. Have the 'main' method run outside of the loader node

Also added a checkout_repo method to the loader that should be useful
for pipeline scripts.

Change-Id: Ib739354a7a4e4508a73dcdfcbc95f414bb2c2d22
Signed-off-by: Barak Korren <bkorren at redhat.com>
Jira-Ticket: https://ovirt-jira.atlassian.net/browse/OVIRT-1402
---
M jobs/confs/groovy-scripts/pipeline-loader.groovy
1 file changed, 30 insertions(+), 4 deletions(-)

Approvals:
  Barak Korren: Verified; Looks good to me, approved; Ready for merge
  Gil Shinar: Looks good to me
  Daniel Belenky: Looks good to me
  Jenkins CI: Passed CI tests



-- 
To view, visit https://gerrit.ovirt.org/77212
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib739354a7a4e4508a73dcdfcbc95f414bb2c2d22
Gerrit-PatchSet: 3
Gerrit-Project: jenkins
Gerrit-Branch: master
Gerrit-Owner: Barak Korren <bkorren at redhat.com>
Gerrit-Reviewer: Anton Marchukov <amarchuk at redhat.com>
Gerrit-Reviewer: Barak Korren <bkorren at redhat.com>
Gerrit-Reviewer: Daniel Belenky <dbelenky at redhat.com>
Gerrit-Reviewer: Evgheni Dereveanchin <ederevea at redhat.com>
Gerrit-Reviewer: Eyal Edri <eedri at redhat.com>
Gerrit-Reviewer: Gil Shinar <gshinar at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Nadav Goldin <ngoldin at redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo at redhat.com>
Gerrit-Reviewer: Shlomo Ben David <sbendavi at redhat.com>


More information about the Engine-commits mailing list