这是我目前的场景:
我已经使用GIT to teamcity签入了我的grails应用程序代码+ Groovy文件夹+ Grails文件夹。现在,当我尝试运行它时,Teamcity向我显示以下错误:
[13:33:35]: Error reading remote plugin list [java.net.ConnectException: Connection refused: connect], building locally...
[13:33:35]: Plugins list cache doesn't exist creating..
[13:33:36]: Unable to list plugins, please check you have a valid internet connection: Connection refused: connect
[13:33:37]: Reading remote plugin list ...
[13:33:38]: Plugins list cache doesn't exist creating..
[13:33:39]: Unable to list plugins, please check you have a valid internet connection: Connection refused: connect
[13:33:39]: Plugin 'db-util' was not found in repository. If it is not stored in a configured repository you will need to install it manually. Type 'grails list-plugins' to find out what plugins are available.
[13:33:39]: [delete] Deleting directory C:\Documents and Settings\RiskSystemsBuildSA\.grails\1.2.2\projects\f8c726f1e64e048c\plugins\tomcat-1.2.2
[13:33:41]: Process exited with code 1
[13:33:41]: Build finished我想我将不得不将插件打包到我的应用程序中,然后在GIT中检查它们。
请让我知道你对这件事的看法。
非常感谢。
p.s.Teamcity correctly picks up the installed groovy and grails as I store .\grails and .\groovy in my teamcity environmen variables.
发布于 2010-04-09 23:32:43
嗯,我终于做到了。我在build.config文件中添加了一行:
grails.project.plugins.dir="./grails/plugins"这基本上是在你的项目目录中创建了一个dir插件,并在这里下载了所有的zip。接下来,我检查了所有的zip和GIT中的插件目录。既然一切都已签到,teamcity就没有任何理由抱怨了。
现在其他的一切都很顺利。
https://stackoverflow.com/questions/2560493
复制相似问题