无法推送到mercurial存储库

时间:2015-01-08 09:09:29

标签: maven version-control jenkins mercurial maven-release-plugin

我们已在Jenkins服务器上设置了发布计划。 当maven发布插件完成他的工作时,我们的Mercurial服务器正在推送,但我们总是收到以下错误:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5:prepare
(default-cli) on project myProject: Unable to commit files
[ERROR] Provider message:
[ERROR] 
[ERROR] EXECUTION FAILED
[ERROR] Execution of cmd : push failed with exit code: 255.
[ERROR] Working directory was:
[ERROR] /var/lib/jenkins/jobs/ReleaseBuildJob/workspace
[ERROR] Your Hg installation seems to be valid and complete.
[ERROR] Hg version: 1.4 (OK)
[ERROR] 

我已经检查了几件事:

jenkins用户主目录中的.hgrc文件包含以下内容:

[ui]
username = jenkins <no-reply@my.jenkins.be>

[auth]
myProject.prefix = http://myserver/hg
myProject.username = myUsername
myProject.password = myPassword

我们的POM文件包含以下数据:

 <scm>
    <connection>scm:hg:http://myserver/hg/myProject</connection>
    <developerConnection>scm:hg:http://myserver/hg/myProject</developerConnection>
  </scm>

Jenkins服务器能够从这个Mercurial存储库中提取,但它无法推送。

我错过了什么?

0 个答案:

没有答案