Re: Parameterized TRigger plugin not finding properties files when using Parameter factories

2016-03-19 Thread Elvis Presley
Should I open a bug?

On Friday, March 11, 2016 at 9:30:18 AM UTC-6, Elvis Presley wrote:
>
> Jenkins 1.643 on Windows Server 2012R2 x64
> Java 1.8.0_20 x86
> Parameterized Trigger plugin 2.30
>
> Hi,
>
> Job A uses *"For every property file, invoke one build"* parameter 
> factory to call downstream job B.
> Here is the file pattern I am using:
>
> d:\scripts\batch\salesconfig*.txt
>
> There are two files in that folder:
>
>
> *salesconfig124.txt*
>
> *salesconfig126.txt*
>
> Job B fails because job A is not setting the parameters it depends on, or 
> something similar. If I look at the parameters for a build of Job B, they 
> are empty.
>
> I have the option "*Action to perform when no files found"* set to *"Fail 
> the build step*" in Job A, but Job A does not fail, only Job B.
>
> I have also tried:
>
> Escaping backslashes in path (e.g. d:\\scripts\\batch\\salesconfig*.txt)
> Using different wildcards (e.g. salesconfig*.txt, salesconfig1??.txt)
> Using absolute filename (e.g.d:\\scripts\\batch\\salesconfig126.txt)
>
>
> The process works when I use *"Parameters from  properties file"* parameter 
> type instead of a parameter factory, and specify the full path to one of 
> the files, so I know the files are in the right format. I do not want to 
> add a parameter for each file I have,
>  since I will eventually have 15 or more files.I would prefer to use the 
> parameter factory if possible.
>
> Any ideas?
>
> Thanks,
> pimy
>

-- 
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/0de29eaa-f5b7-467e-97fe-6624f3ed59e8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Job is run twice on first slave using label parameter

2016-03-19 Thread Elvis Presley
Jenkins 1.643 on Windows Server 2012R2 x64
Java 1.8.0_20 x86
Node and Label Parameter Plugin 1.7.1 



Hi,

I have multiple slaves that have multiple labels\tags. Four of those slaves 
are online and all 4 
have 'sales' (no quotes) as one of their labels.

I add a label parameter to a job, and I specify 'sales' as the value (no 
quotes).

The job runs fine, and it targets all four slaves. Unfortunately, it runs 
twice on the first slave (5 iterations total).
If I use a NODE parameter instead, and select all 4 slaves, it runs 4 times 
(once on each).

I have checked the box "Run on all nodes matching the label". I have 
selected "Run regardless of result" radio button.
In terms of Node eligibility, I have selected "Ignore offline nodes".

It has nothing to do with that particular slave (slaveA), because when I 
take it offline, and run the job again using the same
same label, the job is run twice on a different slave(slaveB), and only 
once and the other two slaves (slaveC,slaveD).

Any ideas?

Thanks,
pimy

-- 
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/cb2b2b1d-013c-45ab-8f2a-90e2e82edb3e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Parameterized TRigger plugin not finding properties files when using Parameter factories

2016-03-11 Thread Elvis Presley
Jenkins 1.643 on Windows Server 2012R2 x64
Java 1.8.0_20 x86
Parameterized Trigger plugin 2.30

Hi,

Job A uses *"For every property file, invoke one build"* parameter factory 
to call downstream job B.
Here is the file pattern I am using:

d:\scripts\batch\salesconfig*.txt

There are two files in that folder:


*salesconfig124.txt*

*salesconfig126.txt*

Job B fails because job A is not setting the parameters it depends on, or 
something similar. If I look at the parameters for a build of Job B, they 
are empty.

I have the option "*Action to perform when no files found"* set to *"Fail 
the build step*" in Job A, but Job A does not fail, only Job B.

I have also tried:

Escaping backslashes in path (e.g. d:\\scripts\\batch\\salesconfig*.txt)
Using different wildcards (e.g. salesconfig*.txt, salesconfig1??.txt)
Using absolute filename (e.g.d:\\scripts\\batch\\salesconfig126.txt)


The process works when I use *"Parameters from  properties file"* parameter 
type instead of a parameter factory, and specify the full path to one of 
the files, so I know the files are in the right format. I do not want to 
add a parameter for each file I have,
 since I will eventually have 15 or more files.I would prefer to use the 
parameter factory if possible.

Any ideas?

Thanks,
pimy

-- 
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/d6259099-20e4-49da-8505-0d2f0859e8e5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.