构建失败Jenkins + Maven + SVN

时间:2017-12-01 05:37:51

标签: maven jenkins 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"'清洁安装&&退出%% ERRORLEVEL %%" POM文件pom.xml指定-f / - file命令行参数不存在 构建步骤'调用顶级Maven目标'标记为失败 发送电子邮件至:vinaya.mopidi@orbitanalytics.com 完成:失败

2 个答案:

答案 0 :(得分:1)

现在正在运行,早些时候我已经给出了错误的存储库URL(svn url),现在放弃了svn工作空间

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

答案 1 :(得分:0)

构建步骤' 调用顶级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%%

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

相关问题