Most likely this is because of changes made to address Jenkins issue SECURITY-170 (see Security Advisory). A job is no longer allowed to accept parameters not explicitly defined in the downstream job.
Eric
--
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-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/b12eeaba-5b5f-4531-984e-1350bfe28524%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
| Eric Pyle
|
|
Release Engineer |
|
Lebanon |
|
+1 603-277-3060 (T) |
|
+1 603-359-8670 (M) |
|
eric...@cd-adapco.com |
| http://www.cd-adapco.com |
We just upgraded our Jenkins from 1.642.3 to 2.7.4 and with that
issue in mind, we did add the keepUndefinedParameters=true. We
haven't seen any problems. We do have some jobs that trigger a
downstream job with parameters from a properties file. Is that
what you're doing? Or are you using "Inject
environment variables to the build process", using a
properties file, in the downstream job? Or something else?
Eric
--
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-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/abaee195-c7b3-43b8-b46c-50a59f7ec787%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Just noticed, there is a typo in the property name below (Acton
vs. Action). Could that be the problem?
--
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-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/abaee195-c7b3-43b8-b46c-50a59f7ec787%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
VALUE_FROM_JOB_1="I-was-defined-in-job-1"
$ cmd /c call C:\Users\ROCBUI~1\AppData\Local\Temp\hudson4898377112420378449.bat ERROR: Build step failed with exception java.lang.IllegalArgumentException: Invalid environment variable name: "??VALUE_FROM_JOB_1" at java.lang.ProcessEnvironment.validateName(Unknown Source) at java.lang.ProcessEnvironment.put(Unknown Source)In some of the test jobs I've set up, the variable(s) being passed simple retain the default value I gave them in job 2