jenkins artifactory-release-staging插件maven-release build失败

时间:2014-12-17 00:33:00

标签: maven jenkins perforce jenkins-plugins artifactory

在进行maven发布构建时使用Jenkins中的artifactory-release-staging,我收到错误 "错误:无法解析POM java.io.IOException:Perforce执行失败:'更改12345未知。"

使用perforce作为SCM。并且在perforce中可以看到更改列表说明挂起的文件(0)。 这是我在下面的输出

" 在工作空间/ jenkins / jenkins_home / workspace / jobname的master上构建 使用master perforce客户端:jenkins-wrkspc [jobname] $ / opt1 / build_tools / p4 / p4 workspace -o jenkins-wrkspc 保存修改后的客户端mavensync:jenkinswrkspc_stggeriatrix [jobname] $ / opt1 / build_tools / p4 / p4 -s client -i 最后的构建变更集:271790 [jobname] $ / opt1 / build_tools / p4 / p4更改-s submitted -m 1 // jenkins-wrkspc / ... [jobname] $ / opt1 / build_tools / p4 / p4 -s changes -s submitted //jenkins-wrkspc /...@271791,@271790 将工作区同步到更改列表271790。 [jobname] $ / opt1 / build_tools / p4 / p4 -s sync //jenkins-wrkspc /...@271790 同步完成,耗时8毫秒 [RELEASE]触发发布版本 错误:无法解析POM java.io.IOException:Perforce执行失败:'更改271791未知。 '     在org.jfrog.build.vcs.perforce.PerforceClient.createNewChangeList(PerforceClient.java:88)     在org.jfrog.hudson.release.scm.perforce.PerforceManager.createNewChangeList(PerforceManager.java:88)     在org.jfrog.hudson.release.scm.perforce.PerforceCoordinator.beforeReleaseVersionChange(PerforceCoordinator.java:56)     在org.jfrog.hudson.release.maven.MavenReleaseWrapper.setUp(MavenReleaseWrapper.java:138)     在hudson.maven.MavenModuleSetBuild $ MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:655)     在hudson.model.AbstractBuild $ AbstractBuildExecution.run(AbstractBuild.java:585)     在hudson.model.Run.execute(Run.java:1676)     在hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531)     在hudson.model.ResourceController.execute(ResourceController.java:88)     在hudson.model.Executor.run(Executor.java:231) 引起:com.perforce.p4java.exception.RequestException:更改271791 unknown。

at com.perforce.p4java.impl.mapbased.server.Server.handleErrorStr(Server.java:3834)
at com.perforce.p4java.impl.mapbased.server.Server.getChangelist(Server.java:2395)
at com.perforce.p4java.impl.mapbased.client.Client.createChangelist(Client.java:619)
at org.jfrog.build.vcs.perforce.PerforceClient.createNewChangeList(PerforceClient.java:84)
... 9 more

[RELEASE]恢复本地更改 完成:失败"

1 个答案:

答案 0 :(得分:0)

更改列表是否已重新编号?由于Perforce缺乏对工作的锁定,这是一种竞争条件。这比Perkins问题更像Perforce问题。