Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

To support TeamCity release project with gradle-release plugin #36

Closed
lennyxue opened this issue May 29, 2013 · 3 comments
Closed

To support TeamCity release project with gradle-release plugin #36

lennyxue opened this issue May 29, 2013 · 3 comments

Comments

@lennyxue
Copy link

Hi,

Thanks for the plugin to facilitate my development work. Can make the gradle-release plugin support TeamCity ? Currently I do some special handing in build.grade to make "gradle install" can build in teamcity, and the "gradle release" only work in local PC which have svm folder, such as ".git", which TeamCity work directory don't have!

@townsfolk
Copy link
Contributor

Hi Lennyxue,
Please explain a bit more. I'm not quite sure what you mean? The plugin is used by some projects with Jenkins. I'm not sure what the differences between Jenkins and TeamCity are. Eg. From what you've said, it sounds like TeamCity checks out your project from version control without the .git directory in the working copy? If it does that, this plugin won't really provide much benefit anyway since it can't check version control for changes, create tags, and commit new versions - which removes about 60% of the plugin's functionality.

@ryanjaeb
Copy link

The checkout mode is configurable in TeamCity. The config option "Version Control Settings -- VCS checkout mode" will impact whether or not directories like .git will exist on the build agent. Use "Automatically on agent" for the agent that does release builds (that agent will need to have Git installed). The other (default) option, which is "Automatically on server", does VCS checkouts on the server and copies the sources to the agent, but ignores VCS directories like .git.

@lennyxue
Copy link
Author

@ryanjaeb, sorry for the late reply. That's what i was looking for. It works well after I changed VCS setting on Teamcity. Big thanks!
@townsfolk, Thanks for your answer. problem was fixed by ryanjaeb's advise.

@danez danez closed this as completed Jan 27, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants