New "Weather Item" process with full preparation on topic and verification instead of breaking the world (RELENG-101)

[RELENG-117] Integrate bot with Jenkins to automatically kick off jobs Created: 07/May/18  Updated: 22/May/18

Status: Open
Project: releng
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Sub-task Priority: Medium
Reporter: Michael Vorburger Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

For now, The Bot just produces that Magic String for the multipatch job - and I I manually put it into https://jenkins.opendaylight.org/releng/job/integration-multipatch-test-fluorine/build.

Perhaps there is a way to make a link to that "Build with Parameters" page and have the {{ PATCHES_TO_BUILD}} automatically filled in? zxiiro or rovarga or skitt or jluhrsen or dfarrell07, have you ever seen anything like that?

Even cooler, if The Bot had a Jenkins login (or I gave it mine), there may be some REST API in Jenkins that it could even just directly kick off a parametrized multipatch a job itself?

This would also open the door to it actually knowing the resulting Build Number (currently it does not yet; I do this manually) - which would be useful in RELENG-116.



 Comments   
Comment by Michael Vorburger [ 07/May/18 ]

More ideas for further Jenkins integration from the (now closed) RELENG-104 by rovarga :

 

An usability idea from: https://lists.opendaylight.org/pipermail/infrastructure/2018-May/000966.html

One way I see this being achieved is:

  • JJB jobs to hook into Jenkins
  • Have Jenkins hooked up to Gerrit to watch a topic and rebuild whenever anything moves
    Note that 'anything moves' includes things like upstream patches being rebased in Gerrit UI one at a time, which can create job storms (like 'Submit including parents' does for merge jobs). It would be nice to suppress or short-circuit extra jobs, but that's not critical.

Comment by Jamo Luhrsen [ 09/May/18 ]

so can we get this bot running as an actual jenkins job as a first step? I didn't really keep track of how the
bot works or what inputs it needs, but I'm assuming it'll be possible and if so, we can easily take it's
output of {{ PATCHES_TO_BUILD }} and pass it on with it's triggering of the multipatch job.

Comment by Michael Vorburger [ 22/May/18 ]

Things move fast, and this point/idea is already moot with RELENG-119...

This issue really is about actually kicking off such jobs now. I think The Bot can do that:

see https://github.com/vorburger/opendaylight-bot/issues/8.

Generated at Wed Feb 07 20:37:32 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.