How can I label my build with revision number and not the GUID (in TeamCity)?

后端 未结 6 589
忘了有多久
忘了有多久 2021-01-30 11:15

I am trying to do \"continuous integration\" with TeamCity. I would like to label my builds in a incremental way and the GUID provided by the VCS is not as usefull as a simple i

6条回答
  •  一向
    一向 (楼主)
    2021-01-30 11:46

    hg id produces the hash (6ec760554f2b), hg id -n produces the local revision number (12).

    (Note this is an answer purely from the hg side, how you then get that into TeamCity, I don't know, as I've never used it.)

提交回复
热议问题