file found trigger plug-in

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

file found trigger plug-in

Alon

Hi all,

 

I’m trying to use the file found trigger in order to create a queue of parameterized jobs.

 

I thought that in order to create a queue, I will open new file in a specific folder with parameters on the relevant build that should be run, and once in a while a build will run – using this trigger.

I don’t know why but I can’t run the plug in. when I point on a directory and push the “test” button – it write me that “Directory not found”.

 

I’m using Hudson 1.366 on windows xp.

 

Any idea what kind of path the tool is looking for?

 

Alon

 

 

Reply | Threaded
Open this post in threaded view
|

Re: file found trigger plug-in

Steven Brown
Hi Alon,

After creating a directory on my desktop and adding a file to it, I tried the following paths with the latest Files Found Trigger, Hudson 1.366, Windows 7:

C:\Users\Steve\Desktop\Test
C:/Users/Steve/Desktop/Test
\\steve-pc\Users\Steve\Desktop\Test
//steve-pc/Users/Steve/Desktop/Test

All of them reported "Files found.".

Can you confirm that the directory you have entered does exist? If so, is there anything unusual about that path?

I'll be happy to follow this up if you can provide more details.

Cheers,
Steve.
Reply | Threaded
Open this post in threaded view
|

RE: file found trigger plug-in

Alon
Thanks Steve,

I tried to put the directory on a network path, but from some reason the
path is not accessible by Hudson (maybe a permission problem).

I open a directory on the Hudson server and point on it - like you use in
your example and it looks fine.

Thanks a lot.

On more ... - is there an option to get the founded file in a variable - or
I need to write a script (like I already did) that find the file that was
added?


Alon
 

-----Original Message-----
From: Steven Brown [mailto:[hidden email]]
Sent: Tuesday, July 27, 2010 5:56 PM
To: [hidden email]
Subject: Re: file found trigger plug-in


Hi Alon,

After creating a directory on my desktop and adding a file to it, I tried
the following paths with the latest Files Found Trigger, Hudson 1.366,
Windows 7:

C:\Users\Steve\Desktop\Test
C:/Users/Steve/Desktop/Test
\\steve-pc\Users\Steve\Desktop\Test
//steve-pc/Users/Steve/Desktop/Test

All of them reported "Files found.".

Can you confirm that the directory you have entered does exist? If so, is
there anything unusual about that path?

I'll be happy to follow this up if you can provide more details.

Cheers,
Steve.
--
View this message in context:
http://hudson.361315.n4.nabble.com/file-found-trigger-plug-in-tp2302152p2303
657.html
Sent from the Hudson users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

RE: file found trigger plug-in

Steven Brown
Alon wrote
I tried to put the directory on a network path, but from some reason the
path is not accessible by Hudson (maybe a permission problem).
Perhaps you are running Hudson as a service? The Local System user doesn't have access to any other machine. I've been caught out by this before.

Alon wrote
On more ... - is there an option to get the founded file in a variable - or
I need to write a script (like I already did) that find the file that was
added?
No, but that would be a good feature. Thanks for the suggestion.

I get the impression that you want to supply a single file to each build? You may want to try a file build parameter instead (see the configuration page for the build).

- Steve.
Reply | Threaded
Open this post in threaded view
|

RE: file found trigger plug-in

Alon
Steve,

You guessed right,

In my case I'm running 2 processes 'A','B' with file parameter (in parallel)
and I'm using the Join plug-in to wait to the end of both.

But to the join option - I don't have a file parameter option to send to
process 'C' (having this option will be very helpful to me) ( I wrote
several python script to handle this case).

But since no update for this plug-in in the last few month - I tried to
solve it by my own.

Alon

-----Original Message-----
From: Steven Brown [mailto:[hidden email]]
Sent: Wednesday, July 28, 2010 10:44 AM
To: [hidden email]
Subject: RE: file found trigger plug-in



Alon wrote:
>
> I tried to put the directory on a network path, but from some reason the
> path is not accessible by Hudson (maybe a permission problem).
>

Perhaps you are running Hudson as a service? The Local System user doesn't
have access to any other machine. I've been caught out by this before.


Alon wrote:
>
> On more ... - is there an option to get the founded file in a variable -
> or
> I need to write a script (like I already did) that find the file that was
> added?
>

No, but that would be a good feature. Thanks for the suggestion.

I get the impression that you want to supply a single file to each build?
You may want to try a file build parameter instead (see the configuration
page for the build).

- Steve.
--
View this message in context:
http://hudson.361315.n4.nabble.com/file-found-trigger-plug-in-tp2302152p2304
557.html
Sent from the Hudson users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]