Have you ever found out the solution to this? I was looking to access the 
Git steps configuration directly. 

On Sunday, June 29, 2014 at 10:14:12 PM UTC-7, Quadir Sha Kareemullah wrote:
>
> Hi,
>
> I would greatly appreciate if anyone can tell me how I can access all Job 
> Configuration properties in my Plugin code. I tried following snippet, but 
> *pdp* is returning *null*.
>
>  
>> ParametersDefinitionProperty pdp = 
>> this.project.getProperty(ParametersDefinitionProperty.class);
>
>  
>
>
> Here is little background, I am trying to dynamically set the branch name 
> that Git needs to build. In the Job Configuration, I enter 
> ${pull_req_src_branch} for the field "Branches to build Branch Specifier 
> (blank for 'any')". I want to set this value dynamically in my Plugin 
> code when the Jobs runs.
>
> Any help is greatly appreciated.
>
> Thanks
> Quadir
>  
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/71342d59-9d4a-44bf-871e-92b9f4b61538%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to