【发布时间】:2013-06-15 02:47:42
【问题描述】:
您好,我正在为 grails 应用程序构建和部署运行 jenkins 实例,但是,我现在遇到了一个问题,在构建过程中的某个地方它告诉我我的签出项目不是 grails 应用程序的一部分。 记录的消息是:
Started by GitHub push by pedrospaulus
Building remotely on s-ea17527f in workspace /scratch/jenkins/workspace/cloudbees_doofry_jenkins_2
Checkout:cloudbees_doofry_jenkins_2 / /scratch/jenkins/workspace/cloudbees_doofry_jenkins_2 - hudson.remoting.Channel@3a1ecfab:s-ea17527f
Using strategy: Default
Last Built Revision: Revision 7d9e4790f577b6c4d3a53338653647d1f1400701 (origin/HEAD, origin/master)
Fetching changes from 1 remote Git repository
Fetching upstream changes from origin
Seen branch in repository origin/HEAD
Seen branch in repository origin/master
Seen 2 remote branches
Commencing build of Revision 4716cf96f4edcc7eef3a4d6826ef3a966aa9a670 (origin/HEAD, origin/master)
Checking out Revision 4716cf96f4edcc7eef3a4d6826ef3a966aa9a670 (origin/HEAD, origin/master)
Warning : There are multiple branch changesets here
[cloudbees_doofry_jenkins_2] $ /opt/grails/grails-1.3.7/bin/grails war target/cloudbees_doofry.war --non-interactive
Welcome to Grails 1.3.7 - http://grails.org/
Licensed under Apache Standard License 2.0
Grails home is set to: /opt/grails/grails-1.3.7
Base Directory: /scratch/jenkins/workspace/cloudbees_doofry_jenkins_2
Resolving dependencies...
Dependencies resolved in 4346ms.
/scratch/jenkins/workspace/cloudbees_doofry_jenkins_2 does not appear to be part of a Grails application.
The following commands are supported outside of a project:
add-proxy
clear-proxy
create-app
create-plugin
help
list-plugins
package-plugin
plugin-info
remove-proxy
set-proxy
Run 'grails help' for a complete list of available scripts.
Build step 'Build With Grails' marked build as failure
Archiving artifacts
[cloudbees-deployer] Skipping deployment as build result is FAILURE
Sending e-mails to: pedrospaulus@gmail.com
Finished: FAILURE
知道我做错了什么吗? tkx
【问题讨论】:
-
application.properties是否在您的 git 存储库的根目录中? (不忽略) -
@isammoc,是的,应用程序属性包含在我在 github 代码库上的应用程序中?你认为这可能有问题吗???
标签: grails build jenkins jenkins-plugins cloudbees