我在Windows中使用Jenkins,当我构建项目时,我在Ant任务pdepend上收到以下错误.
pdepend:
[exec] Can't find the custom report class: --jdepend-chart=C:\Program Files\Jenkins\workspace\Tracking/build/pdepend/dependencies.svg
[exec] Result: 1
Run Code Online (Sandbox Code Playgroud)
PMD工作正常,没有错误,并在Project Dashboard页面中获取图表.
问题
我正在尝试在Jenkins中构建我的应用程序,它在Github上的私有仓库中,也有一个私有子模块.
我可以通过设置它的凭据克隆Jenkins中的私有存储库,但是Jenkins无法克隆子模块,这是失败构建的输出:
Started by an SCM change
Building in workspace /var/lib/jenkins/jobs/Project/workspace
Fetching changes from the remote Git repository
Fetching upstream changes from git@github.com:user/repogit
using GIT_SSH to set credentials
Checking out Revision 9cc99b67cc676d0ea8ccd489a8327f5c6dbb8d7f (origin/branch)
[workspace] $ /bin/sh -xe /tmp/hudson2710403018107019432.sh
+ git submodule update --init --recursive
Initialized empty Git repository in /var/lib/jenkins/jobs/repository/submodule/.git/
ERROR: Repository not found.
fatal: The remote end hung up unexpectedly
Clone of 'git@github.com:user/submodule.git' into submodule path 'repository/submodule/' failed
Build step 'Execute shell' marked build as failure
Discard old …Run Code Online (Sandbox Code Playgroud)