在詹金斯的工作上干净后,Grails的'run-app'挂了

时间:2017-06-27 21:29:35

标签: tomcat grails jenkins

我有一个正在构建和运行Grails应用程序的Jenkins工作。当我在我的作业的shell脚本中执行grails run-app命令时,一切正常。但是,如果我在运行应用程序之前运行grails clean,则run-app命令会挂起。我注意到,当它挂起时,我的grails-resources文件夹未在target/tomcat/work/Tomcat/localhost/_/中创建。因此,在编译的任何步骤创建该文件夹之前它都会挂起。

我无法在本地计算机上重新创建

我正在运行grails run-app作为守护进程可能是相关的(或不相关)。我没有使用守护进程运行grails clean

run-app命令暂停:

| Loading Grails 2.3.7
| Configuring classpath
| Configuring classpath.
| Environment set to jenkins
| Environment set to jenkins.
| Environment set to jenkins..
| Environment set to jenkins...
| Environment set to jenkins....
| Environment set to jenkins.....
| Packaging Grails application
eventCompileStart
version: f4a9fe3
| Packaging Grails application.
| Packaging Grails application..
| Packaging Grails application...
| Packaging Grails application....
| Packaging Grails application.....
| Compiling 1 source files
| Compiling 1 source files.
| Compiling 1 source files..
| Compiling 1 source files...
| Compiling 1 source files....
| Compiling 1 source files.....
| Running Grails application

Configuring Spring Security Core ...
... finished configuring Spring Security Core

Configuring Spring Security UI ...
... finished configuring Spring Security UI

如果有任何其他信息可以帮助我调试,请告诉我。

由于

0 个答案:

没有答案