2

在执行我所做的作业时,在执行 shell 执行之前出现错误(因此此错误必须来自 Jenkins 或 Git)。

Started by user anonymous
Building in workspace /var/lib/jenkins/workspace/Deploy example.com master branch
Checkout:Deploy example.com master branch / /var/lib/jenkins/workspace/Deploy example.com master branch - hudson.remoting.LocalChannel@51a745fc
Using strategy: Default
Last Built Revision: Revision 133257b4b34f8c0a90bf5ce11c634ebc9587d20d (origin/master)
Fetching changes from 1 remote Git repository
Fetching upstream changes from https://joachimroeleveld:fod4xvo0@bitbucket.org/joachimroeleveld/exofes_profiler.git
Commencing build of Revision 133257b4b34f8c0a90bf5ce11c634ebc9587d20d (origin/master)
Checking out Revision 133257b4b34f8c0a90bf5ce11c634ebc9587d20d (origin/master)
Triggering default
default completed with result FAILURE
Finished: FAILURE

在这种情况下,“默认”是什么意思?单击它会出现一个带有“工作区”和“最近更改”链接的页面。此错误是否来自 Git(我将 BitBucket 用于远程存储库)或 Jenkins 中的错误配置?

4

1 回答 1

6

您可能正在使用多配置作业。

如果是这种情况,请先尝试配置“自由风格的软件项目”。日志将如下所示:

Started by an SCM change
Checkout:...
Using strategy: Default
Last Built Revision: Revision ...
Fetching changes from 1 remote Git repository
Fetching upstream changes from ...
Commencing build of Revision ...
Checking out Revision ...
[job-name] $ /bin/sh -xe /tmp/hudson7227596484536996852.sh
于 2012-10-12T21:22:59.253 回答