grails - 团队精神和Grails

标签 grails teamcity

我目前的要求是:

我必须打包grails应用程序,并使用teamcity进行连续构建。
唯一的问题是构建代理没有安装Groovy和Grails(不要问为什么)

我想用Groovy和Grails目录打包我的应用程序并 checkin Git。这样就无需依赖于在构建代理程序上安装Groovy和Grails。该软件包具有运行该应用程序的所有内容。

有人可以帮忙吗?

如果您要我重述我的问题,请告诉我。

最佳答案

好吧,这就是我所做的:
我在GIT内同时检查了groovy和grails。
alt text
then I added environment variables inside TeamCity relative to the checkout directory alt text

然后添加以下参数:
alt text
You can write war in the command-paramters to generate a war这对我有用...
干杯

关于grails - 团队精神和Grails,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2551402/

相关文章:

Grails:<g:选择

unit-testing - 带有继承的单元测试方法 Controller 调用

Grails Assets 管道 - 没有可用的

TeamCity - REST API - 上次成功构建

TeamCity 9.0.1 - 并非所有程序集都显示在覆盖分割中

Bash - Echo 正在拆分我的字符串结果

hibernate - Grails 2.4.4 完全忽略提取 :'join' *使用 PostgreSQL 时*

javascript - 从 GSP 发送到 Controller 时的列表是一个字符串?

.net - 如何在 TeamCity 的 .NET 项目中包含解决方案目录之外的依赖项

visual-studio - Teamcity Artifact 路径如何工作?