Subversion Revision environment property?#902

Subscribe to Subversion Revision environment property? 3 post(s), 2 voice(s)

 
Avatar thekua 3 post(s) #2414

Hi,

Just wondering if Cruise automatically puts the Subversion revision number as an environment variable. I’d like to include it as part of the build process, putting both the cruise pipeline and the subversion revision number into an artifact.

Any ideas? Thanks.

Pat

 
Avatar Jez Humble Administrator 88 post(s) #2428

Hey Pat

We don’t. You would have to do an svn info as part of your build and capture the output. We do have a feature planned to incorporate the svn rev # into the label, which I guess will solve your problem.

 
Avatar thekua 3 post(s) #2442

Cool. No worries. Thanks for letting me know.