Copying files to slaves

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

Copying files to slaves

Bret Schuhmacher-5
Is there any support for non-maven projects for copying files to slaves?  I have the "copy files to slave" plugin enabled, but it only appears to work for Maven projects.  I just need to copy an ear to a remote slave so subsequent jobs can deploy it.

I was about to use Ant tasks to use SCP, but SCP is kind of a pain to install since I don't have complete physical access to both environments (I'm dealing with a remote development staff offshore).

Thanks!

Bret


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

Reply | Threaded
Open this post in threaded view
|

Re: Copying files to slaves

Kirill Evstigneev @spera
URL_SCM plugin is a swiss knife for file distribution in Hudson.
You can expose the EAR as a build artifact of, say, a build task. And then get it by URL in the deployment task.

Bret Schuhmacher wrote
Is there any support for non-maven projects for copying files to slaves?  I have the "copy files to slave" plugin enabled, but it only appears to work for Maven projects.  I just need to copy an ear to a remote slave so subsequent jobs can deploy it.

I was about to use Ant tasks to use SCP, but SCP is kind of a pain to install since I don't have complete physical access to both environments (I'm dealing with a remote development staff offshore).
Reply | Threaded
Open this post in threaded view
|

Re: Copying files to slaves

Sami Tikka
In reply to this post by Bret Schuhmacher-5
We use command line utilities curl and wget for downloading artifacts

-- Sami

Bret Schuhmacher <[hidden email]> kirjoitti 19.2.2010  
kello 18.52:

> Is there any support for non-maven projects for copying files to  
> slaves?  I have the "copy files to slave" plugin enabled, but it  
> only appears to work for Maven projects.  I just need to copy an ear  
> to a remote slave so subsequent jobs can deploy it.
>
> I was about to use Ant tasks to use SCP, but SCP is kind of a pain  
> to install since I don't have complete physical access to both  
> environments (I'm dealing with a remote development staff offshore).
>
> Thanks!
>
> Bret
>
>
> ---------------------------------------------------------------------
> 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: Copying files to slaves

Bret Schuhmacher-5
In reply to this post by Bret Schuhmacher-5
Thanks, Sami.  Hmmmm, did I mention the environment stinks? ;-) there's no curl or wget. Any other ways?  Or am I back to using scp ant tasks?

Bret
--
Bret Schuhmacher
Technical Consultant, GBS
Lombardi Software, Inc.
T.  423.228.2057
[hidden email]
www.lombardi.com



----- Original Message -----
From: Sami Tikka <[hidden email]>
To: [hidden email] <[hidden email]>
Sent: Sat Feb 20 00:16:17 2010
Subject: Re: Copying files to slaves

We use command line utilities curl and wget for downloading artifacts

-- Sami

Bret Schuhmacher <[hidden email]> kirjoitti 19.2.2010  
kello 18.52:

> Is there any support for non-maven projects for copying files to  
> slaves?  I have the "copy files to slave" plugin enabled, but it  
> only appears to work for Maven projects.  I just need to copy an ear  
> to a remote slave so subsequent jobs can deploy it.
>
> I was about to use Ant tasks to use SCP, but SCP is kind of a pain  
> to install since I don't have complete physical access to both  
> environments (I'm dealing with a remote development staff offshore).
>
> Thanks!
>
> Bret
>
>
> ---------------------------------------------------------------------
> 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: Copying files to slaves

Sami Tikka
Did you try the URL SCM plugin suggested by Kirill? It was new to me
that it could be used for this purpose.

If that does not suit you and you do not have access to wget or
curl... Then why not install them?

Or does the environment have Perl? Python? Ruby? Java? Each of those
has libraries that make it easy to build a download-url-to-file in a
couple of lines.

-- Sami

2010/2/22 Bret Schuhmacher <[hidden email]>:

> Thanks, Sami.  Hmmmm, did I mention the environment stinks? ;-) there's no curl or wget. Any other ways?  Or am I back to using scp ant tasks?
>
> Bret
> --
> Bret Schuhmacher
> Technical Consultant, GBS
> Lombardi Software, Inc.
> T.  423.228.2057
> [hidden email]
> www.lombardi.com
>
>
>
> ----- Original Message -----
> From: Sami Tikka <[hidden email]>
> To: [hidden email] <[hidden email]>
> Sent: Sat Feb 20 00:16:17 2010
> Subject: Re: Copying files to slaves
>
> We use command line utilities curl and wget for downloading artifacts
>
> -- Sami
>
> Bret Schuhmacher <[hidden email]> kirjoitti 19.2.2010
> kello 18.52:
>
>> Is there any support for non-maven projects for copying files to
>> slaves?  I have the "copy files to slave" plugin enabled, but it
>> only appears to work for Maven projects.  I just need to copy an ear
>> to a remote slave so subsequent jobs can deploy it.
>>
>> I was about to use Ant tasks to use SCP, but SCP is kind of a pain
>> to install since I don't have complete physical access to both
>> environments (I'm dealing with a remote development staff offshore).
>>
>> Thanks!
>>
>> Bret
>>
>>
>> ---------------------------------------------------------------------
>> 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]
>
>

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

Reply | Threaded
Open this post in threaded view
|

Re: Copying files to slaves

Bret Schuhmacher-5
In reply to this post by Bret Schuhmacher-5
I did try the URL SCM, but had an issue with it for some reason (I don't remember it offhand, but I think it required a Maven project to get a workspace from which to make the file available or something).

Some 3rd party consultants own the offshore environment, so I can't go making them install anything to help.  They don't even have a bash shell installed (and refused to install it when I asked on "security" reasons).

Sure I can write the Java required to do this, but I needed to exhaust all the possibilities of the installed tool (Hudson) before I suggested that to the client.

Thanks! :-)


Bret
--
Bret Schuhmacher
Technical Consultant, GBS
Lombardi Software, Inc.
T.  423.228.2057
[hidden email]
www.lombardi.com



----- Original Message -----
From: Sami Tikka <[hidden email]>
To: [hidden email] <[hidden email]>
Sent: Mon Feb 22 12:43:47 2010
Subject: Re: Copying files to slaves

Did you try the URL SCM plugin suggested by Kirill? It was new to me
that it could be used for this purpose.

If that does not suit you and you do not have access to wget or
curl... Then why not install them?

Or does the environment have Perl? Python? Ruby? Java? Each of those
has libraries that make it easy to build a download-url-to-file in a
couple of lines.

-- Sami

2010/2/22 Bret Schuhmacher <[hidden email]>:

> Thanks, Sami.  Hmmmm, did I mention the environment stinks? ;-) there's no curl or wget. Any other ways?  Or am I back to using scp ant tasks?
>
> Bret
> --
> Bret Schuhmacher
> Technical Consultant, GBS
> Lombardi Software, Inc.
> T.  423.228.2057
> [hidden email]
> www.lombardi.com
>
>
>
> ----- Original Message -----
> From: Sami Tikka <[hidden email]>
> To: [hidden email] <[hidden email]>
> Sent: Sat Feb 20 00:16:17 2010
> Subject: Re: Copying files to slaves
>
> We use command line utilities curl and wget for downloading artifacts
>
> -- Sami
>
> Bret Schuhmacher <[hidden email]> kirjoitti 19.2.2010
> kello 18.52:
>
>> Is there any support for non-maven projects for copying files to
>> slaves?  I have the "copy files to slave" plugin enabled, but it
>> only appears to work for Maven projects.  I just need to copy an ear
>> to a remote slave so subsequent jobs can deploy it.
>>
>> I was about to use Ant tasks to use SCP, but SCP is kind of a pain
>> to install since I don't have complete physical access to both
>> environments (I'm dealing with a remote development staff offshore).
>>
>> Thanks!
>>
>> Bret
>>
>>
>> ---------------------------------------------------------------------
>> 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]
>
>

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

Reply | Threaded
Open this post in threaded view
|

Re: Copying files to slaves

shimi-2
You can use The Ant Get Task
http://ant.apache.org/manual/CoreTasks/get.html

Shimi

On Mon, Feb 22, 2010 at 8:57 PM, Bret Schuhmacher <[hidden email]> wrote:
I did try the URL SCM, but had an issue with it for some reason (I don't remember it offhand, but I think it required a Maven project to get a workspace from which to make the file available or something).

Some 3rd party consultants own the offshore environment, so I can't go making them install anything to help.  They don't even have a bash shell installed (and refused to install it when I asked on "security" reasons).

Sure I can write the Java required to do this, but I needed to exhaust all the possibilities of the installed tool (Hudson) before I suggested that to the client.

Thanks! :-)


Bret
--
Bret Schuhmacher
Technical Consultant, GBS
Lombardi Software, Inc.
T.  423.228.2057
[hidden email]
www.lombardi.com



----- Original Message -----
From: Sami Tikka <[hidden email]>
To: [hidden email] <[hidden email]>
Sent: Mon Feb 22 12:43:47 2010
Subject: Re: Copying files to slaves

Did you try the URL SCM plugin suggested by Kirill? It was new to me
that it could be used for this purpose.

If that does not suit you and you do not have access to wget or
curl... Then why not install them?

Or does the environment have Perl? Python? Ruby? Java? Each of those
has libraries that make it easy to build a download-url-to-file in a
couple of lines.

-- Sami

2010/2/22 Bret Schuhmacher <[hidden email]>:
> Thanks, Sami.  Hmmmm, did I mention the environment stinks? ;-) there's no curl or wget. Any other ways?  Or am I back to using scp ant tasks?
>
> Bret
> --
> Bret Schuhmacher
> Technical Consultant, GBS
> Lombardi Software, Inc.
> T.  423.228.2057
> [hidden email]
> www.lombardi.com
>
>
>
> ----- Original Message -----
> From: Sami Tikka <[hidden email]>
> To: [hidden email] <[hidden email]>
> Sent: Sat Feb 20 00:16:17 2010
> Subject: Re: Copying files to slaves
>
> We use command line utilities curl and wget for downloading artifacts
>
> -- Sami
>
> Bret Schuhmacher <[hidden email]> kirjoitti 19.2.2010
> kello 18.52:
>
>> Is there any support for non-maven projects for copying files to
>> slaves?  I have the "copy files to slave" plugin enabled, but it
>> only appears to work for Maven projects.  I just need to copy an ear
>> to a remote slave so subsequent jobs can deploy it.
>>
>> I was about to use Ant tasks to use SCP, but SCP is kind of a pain
>> to install since I don't have complete physical access to both
>> environments (I'm dealing with a remote development staff offshore).
>>
>> Thanks!
>>
>> Bret
>>
>>
>> ---------------------------------------------------------------------
>> 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]
>
>

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