【问题标题】:Unable to find build script on CloudBees Jenkins在 CloudBees Jenkins 上找不到构建脚本
【发布时间】:2014-11-22 00:08:22
【问题描述】:

在 CloudBees 托管的 Jenkins 上出现以下错误:

FATAL: Unable to find build script at /scratch/jenkins/workspace/PROJECTNAME/deploy_ci/build.xml deploy
Build step 'Invoke Ant' marked build as failure
Finished: FAILURE

在 Jenkins 中通过如下配置执行

Build
Invoke Ant
Targets: -lib deploy_ci/lib/ant-salesforce.jar
Build File: deploy_ci/build.xml deploy

我可以确认我的 git 存储库中有 /deploy_ci/build.xml。

如果我在做一些愚蠢的事情,那就太好了。如果有办法在 jenkins 或 cloudbees(两者都是新手)上更有效地解决此问题,我会全力以赴。

【问题讨论】:

    标签: jenkins salesforce cloudbees


    【解决方案1】:

    大概deploy 属于Targets,而不是Build File

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-10-25
      • 2017-11-08
      • 2023-01-14
      相关资源
      最近更新 更多