Re: 'Parameters from properties file' not working in 2.7.3

2016-10-07 Thread Steve K
Well Daniel, you definitely asked the right question. When I boiled the test case down, I had omitted the '-Encoding ASCII' when I created the parameter file. Now that it is an ASCII file (vs. the default Unicode) it appears to be working (in my test case at least). Thanks a ton! Steve K. On F

Re: 'Parameters from properties file' not working in 2.7.3

2016-10-07 Thread Daniel Beck
I wonder what the '??' before the variable name are. Copy + paste accident? Please post the full stack trace, and the script you're launching. > On 07.10.2016, at 15:34, Steve K wrote: > > > Correct Daniel. > > I just boiled an example down to one parameter of interest. > In job 1, I defined

Re: 'Parameters from properties file' not working in 2.7.3

2016-10-07 Thread Steve K
Correct Daniel. I just boiled an example down to one parameter of interest. In job 1, I defined a variable named VALUE_FROM_JOB_1 In the job, via Powershell, I created a parameters file, with the following content: VALUE_FROM_JOB_1="I-was-defined-in-job-1" In Job 2, I defined the parameter VA

Re: 'Parameters from properties file' not working in 2.7.3

2016-10-07 Thread Daniel Beck
To clarify, all the parameters you intend to pass are defined on the downstream job's configuration but it still doesn't work? > On 06.10.2016, at 20:12, Steve K wrote: > > > Well, HECK! The parameters from parameter file are NOT getting passed. > The parameters were getting passed from 'Curre

Re: 'Parameters from properties file' not working in 2.7.3

2016-10-06 Thread Steve K
Well, HECK! The parameters from parameter file are NOT getting passed. The parameters were getting passed from 'Current build parameters'. It did not pick up the values from 'Use properties from file'. That is NOT good. So, I'm back to the original question. How do I successfully "Use propertie

Re: 'Parameters from properties file' not working in 2.7.3

2016-10-03 Thread Steve K
Thanks for noticing the typo Eric. I *think *I had it correct when I added it to the Jenkins startup script. I can't verify, because I have since removed it. There was another thread on this topic (see: https://groups.google.com/d/msg/jenkinsci-users/sUs7NOiLKQ0/lrP-leh3OgAJ) where, basicall

Re: 'Parameters from properties file' not working in 2.7.3

2016-10-03 Thread Eric Pyle
Just noticed, there is a typo in the property name below (Acton vs. Action). Could that be the problem? On 10/3/2016 1:15 PM, Steve K wrote: Eric, I think you're right. My problem is caused by the new security policies. I have not found the right combination of settings to make things work

Re: 'Parameters from properties file' not working in 2.7.3

2016-10-03 Thread Steve K
Yes. we're using parameters from a properties file. > > > > > > -- 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.

Re: 'Parameters from properties file' not working in 2.7.3

2016-10-03 Thread Eric Pyle
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 "Inje

Re: 'Parameters from properties file' not working in 2.7.3

2016-10-03 Thread Steve K
Eric, I think you're right. My problem is caused by the new security policies. I have not found the right combination of settings to make things work as before. I tried starting Jenkins with -Dhudson.model.ParametersActon.keepUndefinedParameters=true, but that did not solve the problem. Have y

Re: 'Parameters from properties file' not working in 2.7.3

2016-10-03 Thread Eric Pyle
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 O

'Parameters from properties file' not working in 2.7.3

2016-10-03 Thread Steve K
Hello, Several of my jobs use 'Parameters from properties file' to pass settings to downstream jobs. The configuration I used in Jenkins 1.625.3 does not appear to work with 2.7.3 I wrote two very simple jobs; one to create a parameter file that was used with 'Trigger parameterized build on ot