appleboy / drone-jenkins

Drone plugin for trigger Jenkins jobs.
MIT License
39 stars 17 forks source link

Jenkins Job params #22

Closed xriser closed 1 month ago

xriser commented 5 years ago

Hi. Is it support parametrized jobs ? How to pass jenkins job params ?

geopossachs commented 5 years ago

@appleboy are you interest on the feature to submit job params? I have experiment to submit params in my fork successfully and would like to share it with your project, when your are interested.

cool21540125 commented 3 years ago

@geopossachs Do you have your image upload to somewhere? I'm interesting in your sharing.

geopossachs commented 3 years ago

Hallo @cool21540125, only my master was published at docker hub https://hub.docker.com/r/geopossachs/drone-jenkins

But you found my code draft here. https://github.com/geopossachs/drone-jenkins/tree/feature/job-paramter

appleboy commented 3 years ago

@geopossachs Can you send the PR?

geopossachs commented 3 years ago

Yes, i will check my old code in the next days and will open an PR afterwards

appleboy commented 3 years ago

@geopossachs THanks.

geopossachs commented 3 years ago

Hallo @cool21540125 , i have merged XSRF and params support together and now you can found it on docker hub https://hub.docker.com/r/geopossachs/drone-jenkins/tags

geopossachs commented 3 years ago

Hallo @appleboy , i have open a MR for you. If it can be improved i'm open to hints. https://github.com/appleboy/drone-jenkins/pull/27/files