TeamCity - using setParameter to pass information between build steps

前端 未结 6 1812
清歌不尽
清歌不尽 2020-12-23 22:04

I must be doing something differently than what was asked and answered here because the solution does not appear to be working for me: TeamCity, passing an id generated in o

6条回答
  •  悲哀的现实
    2020-12-23 22:34

    I think you have an extra "\" in there. Try removing that and add double quotes around it and it should work.

     "##teamcity[setParameter name='env.TEST' value='test']"
    

    If it doesn't work try using Powershell runner type as I'm using that for setting it and it works.

提交回复
热议问题