From Barak Korren <bkorren(a)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(a)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(a)redhat.com>
Gerrit-Reviewer: Anton Marchukov <amarchuk(a)redhat.com>
Gerrit-Reviewer: Barak Korren <bkorren(a)redhat.com>
Gerrit-Reviewer: Daniel Belenky <dbelenky(a)redhat.com>
Gerrit-Reviewer: Evgheni Dereveanchin <ederevea(a)redhat.com>
Gerrit-Reviewer: Eyal Edri <eedri(a)redhat.com>
Gerrit-Reviewer: Gil Shinar <gshinar(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Nadav Goldin <ngoldin(a)redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo(a)redhat.com>
Gerrit-Reviewer: Shlomo Ben David <sbendavi(a)redhat.com>