Hi Sándor,

thanks a lot for the link. The workaround works for me. You have to disable 
the Groovy sandbox though.

 Timo

Am Montag, 16. Januar 2017 21:33:56 UTC+1 schrieb kelemensanyi:
>
> Hi Timo,
>
> No, we chose a completely different approach.
>
> But I recently got an answer to the same question on stackoverflow (from 
> Torsten Reinhard):
>
> http://stackoverflow.com/questions/39451009/access-maven-metadata-plugin-parameters-in-jenkins-pipeline-groovy-script/
>
> String version = 
>> currentBuild.rawBuild.getAction(hudson.model.ParametersAction).getParameter("COMPONENT").version
>
>
> I couldn't verify it, but I hope it helps you.
> Please let me know if this solution works for you as well.
>
> Ciao,
> Sándor
>
>
> On Monday, January 16, 2017 at 7:41:02 PM UTC+1, Timo Weber wrote:
>>
>> Just found your question because I have exactly the same problem. Could 
>> you somehow solve this?
>>
>> Timo
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/9a5707d5-54a1-43ec-bdfb-fac17223f09b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to