在Windows机器上通过JNLP运行Jenkins从站时,构建开始正常并克隆git存储库。但是,日志最终会像这样:
Started by user anonymous
Building remotely on xxx
Checkout:Project / c:\jenkins-slave\workspace\Project - hudson.remoting.Channel@12dd731:EC2
Using strategy: Default
Last Built Revision: Revision e62b587a61fe6d4966fb2e014480a3b1bf638e97 (origin/master)
Checkout:Project / c:\jenkins-slave\workspace\Project - hudson.remoting.LocalChannel@1ab307c
Fetching changes from the remote Git repository
Fetching upstream changes from git@github.com:xxx
Commencing build of Revision e62b587a61fe6d4966fb2e014480a3b1bf638e97 (origin/master)
Checking out Revision e62b587a61fe6d4966fb2e014480a3b1bf638e97 (origin/master)
FATAL: ERROR
Finished: FAILURE
因此,Jenkins构建失败但没有错误日志。我无法在主人或奴隶身上找到一个。任何人有任何想法或指向日志文件的指针?
谢谢, 马丁
答案 0 :(得分:1)
发现问题 - Jenkins项目指的是主服务器中存在的Gradle版本,但不存在于远程节点上。所以Jenkins找不到要运行的gradle可执行文件。