通过Teamcity的Git提交/推送 [英] Git commit / push through Teamcity
问题描述
我在teamcity中有一个项目,具有以下结构。开发人员针对某些git存储库进行开发。他们推动他们的变革,团队CI构建完成其工作。我想链接一个Release版本,一旦所有人都同意,就发布对Github存储库的更改。
我明白我可以通过命令行脚本来做到这一点,但我想知道我是否可以声明VCC(不会用于拉动)并以某种方式推送到它?否则我在我的cmd脚本上有未加密的密码,我想避免使用它。
感谢
Yannis
为什么你使用github来存储构建的二进制文件/输出?我推荐一些类似Artifactory的东西,它可以和TeamCity一起使用。如果你必须使用git,你可能需要手动输入脚本(例如:git add,git push等)。
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
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.).
这篇关于通过Teamcity的Git提交/推送的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!