构建失败 Jenkins+Maven+SVN

build failure Jenkins+Maven+SVN

由用户 xxx 发起 在工作区 C:\Users\Vinay.jenkins\workspace\Orbit 中构建 App Automation 更新 https://polarisdev.svn.cloudforge.com/qaautomation 修订版 '2017-12-01T11:04:13.362 +0530' 在领域“https://polarisdev.svn.cloudforge.com:443 CloudForge 登录”中使用唯一凭据 xxxx/****** 修订版 5

自上次构建以来 https://polarisdev.svn.cloudforge.com/qaautomation 没有变化 [qaautomation] $ cmd.exe /C "D:\apache-maven-3.5.0\bin\mvn.cmd -f pom.xml '"-Dmaven.repo.local=C:\Users\Vinay.jenkins\workspace\Orbit App Automation.repository"' clean install && exit %%错误级别%%" POM 文件 pom.xml 指定的 -f/--file 命令行参数不存在 构建步骤 'Invoke top-level Maven targets' 将构建标记为失败 发送电子邮件至:vinaya.mopidi@orbitanalytics.com 已完成:失败

构建步骤“调用顶级 Maven 目标”将构建标记为失败,因为您在 Maven 目标和选项输入字段中输入了 shell 脚本。

您的命令似乎是自由风格的 windows 命令脚本。

cmd.exe /C "D:\apache-maven-3.5.0\bin\mvn.cmd -f pom.xml '"-Dmaven.repo.local=C:\Users\Vinay.jenkins\workspace\Orbit App Automation.repository"' clean install && exit %%ERRORLEVEL%%

Select 执行 windows 批处理命令 单选按钮在构建步骤中。

它现在正在工作,早些时候我给了错误的存储库 URL (svn url) 现在放弃了 svn 工作 space

正确:https://xxxx.svn.xxx.com/qaautomation/xxxAutomation 不正确:https://xxxx.svn.xxx.com/qaautomation