Using git commands in a TeamCity Build Step

前端 未结 2 1764
眼角桃花
眼角桃花 2020-12-15 03:12

One of my TeamCity v7.0 build projects relies on using a diff between the current development branch and the master branch to determine what needs to be run. I\'ve written

2条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-15 03:55

    Try changing the VCS checkout mode to "Always checkout files on agent" as documented here. That should give the build script access to the .git folder.

提交回复
热议问题