Can you configure TeamCity “Artifacts” to be checked back into source control?

假如想象 提交于 2019-12-05 23:13:56

The two ways I can think of are

  • VCS Labeling

specify a path in your working directory to label and the location relative to the trunk to check it in. jetbrains explains it here

/project/trunk/dist=>/project/tags/%system.build.number%
  • from the build script

manually checkin the artifacts from the build script and add an ignore to the place where your checking in to so it doesn't trigger the build again.

e.g. use -:user=devA:project/sources/** to prevent build triggering after a change of VCS user devA  made in subfolder project/sources/**
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!