Re: Build Flow Plugin and Folder Plugin issue

2014-05-12 Thread EK
I new it !!! CommonJobs/A  solved the issue , 
I was thinking that this is the only thing I didn't try , thank you very 
much for your quick reply and helpful information.

On Sunday, May 11, 2014 11:30:55 PM UTC+3, EK wrote:

 Hi ...

 I am not able to call a job found in some other folder when running using 
 build flow, 
 my use case is as follow :
 1. CommonJobs Folder which contain several jobs where A is a job among 
 them
 2. Project1 Folder which contains several jobs and the build flow job.

 if the build flow job in Project1 call a jobs found directly under 
 Project1 Folder every thing works fine
 if the build flow job in Project1 Folder call a job found in jenkins 
 default jobs folder every thing works fine 
 if the build flow job in Project1 Folder call a job found in CommonJobs 
 Folder an exception of JobNotFoundException is thrown
 this occurs - I think - in the following location:

 build-flow-plugin/blob/master/src/main/groovy/com/cloudbees/plugins/flow/JobInvocation.groovy
 at lines 76-78 for some how build flow does not know to look for job in 
 other folders ( beside current and default).

 The question is did anyone else try to do this? is there any workaround to 
 make this work ?
 I tried to pass the path for the job A as follow CommonJobs\A - (also 
 tried CommonJobs\\A) but with no luck !




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


Re: Build Flow Plugin and Folder Plugin issue

2014-05-12 Thread EK
I new it !!! CommonJobs/A  solved the issue , 
I was thinking that this is the only thing I didn't try , thank you very 
much for your quick reply and helpful information.

On Monday, May 12, 2014 12:34:59 AM UTC+3, Daniel Beck wrote:


 On 11.05.2014, at 22:30, EK eyas@gmail.com javascript: wrote: 

  I tried to pass the path for the job A as follow CommonJobs\A - 
 (also tried CommonJobs\\A) but with no luck ! 

 CommonJobs/A and /CommonJobs/A should both be valid values. Even 
 ../CommonJobs/A should work. 

 IOW, think less like a Windows user ;-) 



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


Re: Build Flow Plugin and Folder Plugin issue

2014-05-11 Thread Daniel Beck

On 11.05.2014, at 22:30, EK eyas.ko...@gmail.com wrote:

 I tried to pass the path for the job A as follow CommonJobs\A - (also 
 tried CommonJobs\\A) but with no luck !

CommonJobs/A and /CommonJobs/A should both be valid values. Even 
../CommonJobs/A should work.

IOW, think less like a Windows user ;-)

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