Remote trigger job between masters with file upload/transfer

17 views
Skip to first unread message

Brantone

unread,
Mar 6, 2015, 3:27:38 AM3/6/15
to jenkins...@googlegroups.com
Hey, looking for a method to remotely trigger a Jenkins job from one master to another, with file upload/transfer ... and wait for response (success or failure).
I'm aware there's the plugin https://wiki.jenkins-ci.org/display/JENKINS/Parameterized+Remote+Trigger+Plugin however, that doesn't seem to support file upload.
I'm thinking an alternative might be to upload to intermediary location then trigger the job; however, wondering if other possibilities ... probably a bunch of script with curl calls might work, but not exactly eloquent.
I feel like something simple can be done ... any ideas?

Brantone

unread,
Mar 30, 2015, 3:30:17 AM3/30/15
to jenkins...@googlegroups.com
Best option looks to be a bit of a cobbled together solution of : get next build number, curl by posting the file, then using that build number to monitor until it's completed.
Feels like a complete hack, but ... so be it :(
Reply all
Reply to author
Forward
0 new messages