Activating a Job with a SVN URL parameter

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

Activating a Job with a SVN URL parameter

Skywalker-2
Hi everybody,

I am a very enthusiastic user of Hudson and we use it since I've known
it 8 months ago.
We have now so many Hudson jobs that we need to better reorganize and
manage them, by parameterizing some of the common settings.

Does anybody know HOW to specify the SVN URL (at least the final part,
indicating a tag, branch or trunk) on a Hudson Job ?
(without having to copy the Job and thus complicate the management of
cloned jobs)

Thanks in advance for your help.

Luca.

 

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

Reply | Threaded
Open this post in threaded view
|

Re: Activating a Job with a SVN URL parameter

Kohsuke Kawaguchi
Administrator
Luca Milanesio wrote:

> Hi everybody,
>
> I am a very enthusiastic user of Hudson and we use it since I've known
> it 8 months ago.
> We have now so many Hudson jobs that we need to better reorganize and
> manage them, by parameterizing some of the common settings.
>
> Does anybody know HOW to specify the SVN URL (at least the final part,
> indicating a tag, branch or trunk) on a Hudson Job ?
> (without having to copy the Job and thus complicate the management of
> cloned jobs)
>
> Thanks in advance for your help.
I'm afraid there's no way to do that.

--
Kohsuke Kawaguchi
Sun Microsystems                   http://weblogs.java.net/blog/kohsuke/

smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Activating a Job with a SVN URL parameter

Skywalker-2
Hi Kohsuke,

do you have any plan of implementing a SVN URL as parameter ? ... or at
least use a parameter in an expression in SVN URL ?

Thank you.

Luca.

Kohsuke Kawaguchi wrote:

> Luca Milanesio wrote:
>> Hi everybody,
>>
>> I am a very enthusiastic user of Hudson and we use it since I've
>> known it 8 months ago.
>> We have now so many Hudson jobs that we need to better reorganize and
>> manage them, by parameterizing some of the common settings.
>>
>> Does anybody know HOW to specify the SVN URL (at least the final
>> part, indicating a tag, branch or trunk) on a Hudson Job ?
>> (without having to copy the Job and thus complicate the management of
>> cloned jobs)
>>
>> Thanks in advance for your help.
>
> I'm afraid there's no way to do that.
>


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

Reply | Threaded
Open this post in threaded view
|

Re: Activating a Job with a SVN URL parameter

Kohsuke Kawaguchi
Administrator
Luca Milanesio wrote:
> Hi Kohsuke,
>
> do you have any plan of implementing a SVN URL as parameter ? ... or at
> least use a parameter in an expression in SVN URL ?

I think it's conceivable to update SCM implementations to perform
variable expansions (Util.replaceMacro)

Would you be interested in writing a patch?


> Thank you.
>
> Luca.
>
> Kohsuke Kawaguchi wrote:
>> Luca Milanesio wrote:
>>> Hi everybody,
>>>
>>> I am a very enthusiastic user of Hudson and we use it since I've
>>> known it 8 months ago.
>>> We have now so many Hudson jobs that we need to better reorganize and
>>> manage them, by parameterizing some of the common settings.
>>>
>>> Does anybody know HOW to specify the SVN URL (at least the final
>>> part, indicating a tag, branch or trunk) on a Hudson Job ?
>>> (without having to copy the Job and thus complicate the management of
>>> cloned jobs)
>>>
>>> Thanks in advance for your help.
>>
>> I'm afraid there's no way to do that.
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>

--
Kohsuke Kawaguchi
Sun Microsystems                   http://weblogs.java.net/blog/kohsuke/

smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Activating a Job with a SVN URL parameter

Skywalker-2
Hi Kohsuke, why not ? I will be glad to write this patch !

We met last year in Antwerp (Belgium) for the JavaPolis, and I wanted to
make a back-porting of Hudson remote agents to JDK 1.4 ... so I am
opened to contribute to Hudson :-)

P.S. The JDK 1.4 back-porting was unsuccessful  because remote Hudson
agents are used to "inject" 1.5 class files to remote systems: this will
not work on JDK 1.4 :-( ... so we managed to manage remote JDK 1.4
builds as "native builds" invoked via native SSH commands.

Which is the way to integrate this patch ? Should I send it to you ?

Luca.

Kohsuke Kawaguchi wrote:

> Luca Milanesio wrote:
>> Hi Kohsuke,
>>
>> do you have any plan of implementing a SVN URL as parameter ? ... or
>> at least use a parameter in an expression in SVN URL ?
>
> I think it's conceivable to update SCM implementations to perform
> variable expansions (Util.replaceMacro)
>
> Would you be interested in writing a patch?
>
>
>> Thank you.
>>
>> Luca.
>>
>> Kohsuke Kawaguchi wrote:
>>> Luca Milanesio wrote:
>>>> Hi everybody,
>>>>
>>>> I am a very enthusiastic user of Hudson and we use it since I've
>>>> known it 8 months ago.
>>>> We have now so many Hudson jobs that we need to better reorganize
>>>> and manage them, by parameterizing some of the common settings.
>>>>
>>>> Does anybody know HOW to specify the SVN URL (at least the final
>>>> part, indicating a tag, branch or trunk) on a Hudson Job ?
>>>> (without having to copy the Job and thus complicate the management
>>>> of cloned jobs)
>>>>
>>>> Thanks in advance for your help.
>>>
>>> I'm afraid there's no way to do that.
>>>
>>
>>
>> ---------------------------------------------------------------------
>> 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]