Git commit / push through Teamcity

霸气de小男生 提交于 2019-12-25 04:25:05

问题


I have a project in teamcity that has the following structure. The developers develop against some git repository. They push their changes and the teamcity CI build does its job. I would like to chain a Release build to it to publish changes to a Github repository once everyone agrees.

I understand how I could do this through a command line script but I was wondering if I could declare a VCC (that won't be used for pulling) and somehow push to it? Otherwise I have unencrypted passwords on my cmd script, which I would like to avoid.

Thanks Yannis


回答1:


Why are you using github to store binaries/output from a build? I'd recommend something like Artifactory which works well with TeamCity. If you must use git, you'll probably have to manually enter a script into steps (e.g.: git add ., git push, etc.).



来源:https://stackoverflow.com/questions/27738892/git-commit-push-through-teamcity

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!