is there a variable that show the SVN branch(es) used in the build just like CVS_BRANCH?

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

is there a variable that show the SVN branch(es) used in the build just like CVS_BRANCH?

baz themail
Hi,

I noticed there is a variable CVS_BRANCH. Is there one for Subversion as well?

Thanks.

A.
Reply | Threaded
Open this post in threaded view
|

Re : is there a variable that show the SVN branch(es) used in the build just like CVS_BRANCH?

Damien Coraboeuf
There is the SVN_REVISION variable which contains the revision number from SVN that has been used for the build.

Regards,
Damien.


De : baz themail <[hidden email]>
À : [hidden email]
Envoyé le : Jeudi, 2 Juillet 2009, 20h28mn 37s
Objet : is there a variable that show the SVN branch(es) used in the build just like CVS_BRANCH?

Hi,

I noticed there is a variable CVS_BRANCH. Is there one for Subversion as well?

Thanks.

A.

Reply | Threaded
Open this post in threaded view
|

Re: Re : is there a variable that show the SVN branch(es) used in the build just like CVS_BRANCH?

baz themail
Yes, but I am trying to get the information about the branch(es) that are using for the build.

On Thu, Jul 2, 2009 at 12:40 PM, Damien Coraboeuf <[hidden email]> wrote:
There is the SVN_REVISION variable which contains the revision number from SVN that has been used for the build.

Regards,
Damien.


De : baz themail <[hidden email]>
À : [hidden email]
Envoyé le : Jeudi, 2 Juillet 2009, 20h28mn 37s
Objet : is there a variable that show the SVN branch(es) used in the build just like CVS_BRANCH?

Hi,

I noticed there is a variable CVS_BRANCH. Is there one for Subversion as well?

Thanks.

A.


Reply | Threaded
Open this post in threaded view
|

RE: Re: Re : is there a variable that show the SVN branch(es) used in the build just like CVS_BRANCH?

Matthew.Webber
Subversion does not have a concept of branches. In subversion, branching is purely a matter of naming conventions.
 
Thanks,
Matthew
 

From: baz themail [mailto:[hidden email]]
Sent: 02 July 2009 22:36
To: [hidden email]
Subject: Re: Re : is there a variable that show the SVN branch(es) used in the build just like CVS_BRANCH?

Yes, but I am trying to get the information about the branch(es) that are using for the build.

On Thu, Jul 2, 2009 at 12:40 PM, Damien Coraboeuf <[hidden email]> wrote:
There is the SVN_REVISION variable which contains the revision number from SVN that has been used for the build.

Regards,
Damien.


De : baz themail <[hidden email]>
À : [hidden email]
Envoyé le : Jeudi, 2 Juillet 2009, 20h28mn 37s
Objet : is there a variable that show the SVN branch(es) used in the build just like CVS_BRANCH?

Hi,

I noticed there is a variable CVS_BRANCH. Is there one for Subversion as well?

Thanks.

A.



--
Scanned by iCritical.


Reply | Threaded
Open this post in threaded view
|

Re : Re: Re : is there a variable that show the SVN branch(es) used in the build just like CVS_BRANCH?

Damien Coraboeuf
Maybe are you trying to get then the Subversion URL you are building from? I don't know if this is accessible or not through environment variables.

Look at http://wiki.hudson-ci.org/display/HUDSON/Building+a+software+project#Buildingasoftwareproject-below for a list of all environment variables created by Hudson for a build.

Regards,
Damien.


De : "Webber, MJ (Matthew)" <[hidden email]>
À : [hidden email]
Envoyé le : Vendredi, 3 Juillet 2009, 9h36mn 57s
Objet : RE: Re: Re : is there a variable that show the SVN branch(es) used in the build just like CVS_BRANCH?

Subversion does not have a concept of branches. In subversion, branching is purely a matter of naming conventions.
 
Thanks,
Matthew
 

From: baz themail [mailto:[hidden email]]
Sent: 02 July 2009 22:36
To: [hidden email]
Subject: Re: Re : is there a variable that show the SVN branch(es) used in the build just like CVS_BRANCH?

Yes, but I am trying to get the information about the branch(es) that are using for the build.

On Thu, Jul 2, 2009 at 12:40 PM, Damien Coraboeuf <[hidden email]> wrote:
There is the SVN_REVISION variable which contains the revision number from SVN that has been used for the build.

Regards,
Damien.


De : baz themail <[hidden email]>
À : [hidden email]
Envoyé le : Jeudi, 2 Juillet 2009, 20h28mn 37s
Objet : is there a variable that show the SVN branch(es) used in the build just like CVS_BRANCH?

Hi,

I noticed there is a variable CVS_BRANCH. Is there one for Subversion as well?

Thanks.

A.



--
Scanned by iCritical.