jenkins-rest icon indicating copy to clipboard operation
jenkins-rest copied to clipboard

How to send file in the build parameters by using this

Open jitendramwd opened this issue 4 years ago • 1 comments
trafficstars

I was trying to invoke Jenkins job build which has file as a parameter buildWithParameter method doesn't have any option to send the file

Expected Behavior

There should be an option to send a file in the params in buildWithParameters

Current Behavior

No Option found to send file in the params of buildWithParameters

Context

I want to invoke Jenkins job build which has file as a parameter buildWithParameter method doesn't have any option to send the file

Steps to Reproduce (for bugs)

Configure a job with the file as one of the parameters and try to build using this library

Your Environment

NA

jitendramwd avatar Nov 24 '21 16:11 jitendramwd

@jitendramwd which method specifically are you referring to as we have lots of buildWithParameters methods. Also ... you can send in a PR to support this functionality if you're up for it? Project is designed to be driven largely by annotations so shouldn't be too bad to wire things up.

cdancy avatar Nov 24 '21 16:11 cdancy