Assuming you have the current build project, It might be included in build.getParent().getProperties() https://javadoc.jenkins.io/hudson/model/Job.html#getProperties--
From: 'Jordan Vogel' via Jenkins Developers <jenkin...@googlegroups.com>
Reply-To: "jenkin...@googlegroups.com" <jenkin...@googlegroups.com>
Date: Wednesday, June 5, 2019 at 10:02 AM
To: Jenkins Developers <jenkin...@googlegroups.com>
Subject: Accessing parameter values form a different plugin
Notice: This email is from an external sender.
--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-dev/2637a384-e218-45e1-af1b-2951708a2f09%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
If I understand correctly, this code https://github.com/jenkinsci/github-autostatus-plugin/blob/daf4bf1a0553f91bb0b4deaee32905f077f050ec/src/main/java/org/jenkinsci/plugins/githubautostatus/BuildStatusJobListener.java#L83-L94
Is what you want – it puts all the parameters passed to a job into a map. It’s a different than what I wrote earlier, I was referencing broken code.
Best
Jeff
From: 'Jordan Vogel' via Jenkins Developers <jenkin...@googlegroups.com>
Reply-To: "jenkin...@googlegroups.com" <jenkin...@googlegroups.com>
Date: Thursday, June 6, 2019 at 7:53 AM
To: Jenkins Developers <jenkin...@googlegroups.com>
Subject: Re: Accessing parameter values form a different plugin
Notice: This email is from an external sender.
I'll try and give you some more specifics. Basically I am trying to access a parameter the jobs are passed when they are triggered by scripts. So the url for the POST request is my-dns.net/MyJobName/buildWithParameter
--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/4255741c-9afc-493c-ae71-8e26c362ac2a%40googlegroups.com.