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/1d55b38b-5de3-457d-a458-9e59c2775858%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to