One alternative is to implement and EnvironmentContributor, one example
here https://github.com/jenkinsci/ghprb-plugin/pull/336

If I'm reading the code correctly on ParametersAction the above alternative
would still print nasty warnings in the Jenkins log though, so I'm going to
try to hack my way to adding to the safeParameters field instead.

/B

On Thu, May 12, 2016 at 10:48 AM, 'Björn Pedersen' via Jenkins Developers <
[email protected]> wrote:

> Hi,
>
> Since sec-170 all unknown variables  will get dropped. What needs to be
> done in a plugin to correctly declare the vars they provide?
>
> Björn
>
> --
> 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/6ef47e98-d70c-4a9d-be82-2b91ad0ce009%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-dev/6ef47e98-d70c-4a9d-be82-2b91ad0ce009%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Robert Sandell
*Software Engineer*
*CloudBees Inc.*

-- 
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/CALzHZS0fg3ha63dgT19uT4HZMPiNMcyxiGCCbiSQMd7DWtnHbQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to