【问题标题】:Build step 'Execute shell' marked build as failure The project should have the name构建步骤 'Execute shell' 将构建标记为失败 该项目应具有名称
【发布时间】:2019-05-26 07:46:06
【问题描述】:

我是使用 Jenkins 的新手,遇到以下问题:我需要将 Java 项目添加到 SVN 存储库,然后该项目会自动加载到我有权访问的 jenkins 帐户中。 Jenkins 托管在远程服务器上,我不能在那里更改任何配置,只能运行构建等等。 将项目添加到存储库后,它在 Jenkins 中显示为“失败”状态。 控制台输出如下:

SVN-repository 中的项目结构:

在 Jenkins 中具有结构:

请告诉我,可能是什么问题,我该如何解决。

【问题讨论】:

    标签: jenkins svn build


    【解决方案1】:

    问题是:

    + /var/lib/jenkins/scripts/jtl/checkProjectName.sh Practice1
    The project should have the name Practice1
    

    目前您正在workspace 目录中签出。尝试从workspace/Practice1 目录签出您的存储库。

    【讨论】:

    • Jenkins 托管在远程服务器上,我不能在那里更改任何配置,只能运行构建等等。
    猜你喜欢
    • 2016-02-21
    • 2017-06-19
    • 2019-12-01
    • 2019-11-25
    • 2016-01-26
    • 2017-10-09
    • 1970-01-01
    • 2017-03-18
    • 2020-05-12
    相关资源
    最近更新 更多