Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Unable to perform maven release with Jenkins/RTC 3.0.1

RTC Version - 3.0.1

Jenkins - 1.526

Rational Team Concert Plugin 0.3

Maven - 3.1.0

I'm able to succeed running the maven release build from the CLI. But when i use Jenkins, I get the following issue:


[pool-1-thread-1] INFO org.apache.maven.shared.release.phase.ScmCommitPreparationPhase - Checking in modified POMs...
[pool-1-thread-1] INFO org.apache.maven.scm.manager.plexus.DefaultScmManager - Executing: cmd.exe /X /C "scm create changeset --username mcjaff --password ***** "[UWP release checkin]-prepare release CIDemo-0.0.5""
[pool-1-thread-1] INFO org.apache.maven.scm.manager.plexus.DefaultScmManager - Working directory: C:\Documents and Settings\svc_uwp_build_user\.jenkins\jobs\nexus-release-test\workspace\Common
[pool-1-thread-1] INFO org.apache.maven.scm.manager.plexus.DefaultScmManager - Executing: cmd.exe /X /C "scm status --username mcjaff --password ***** --wide"
[pool-1-thread-1] INFO org.apache.maven.scm.manager.plexus.DefaultScmManager - Working directory: C:\Documents and Settings\svc_uwp_build_user\.jenkins\jobs\nexus-release-test\workspace\Common
[pool-1-thread-1] INFO org.apache.maven.scm.manager.plexus.DefaultScmManager - Executing: cmd.exe /X /C "scm checkin --username mcjaff --password ***** "C:\Documents and Settings\svc_uwp_build_user\.jenkins\jobs\nexus-release-test\workspace\Common\pom.xml""
[pool-1-thread-1] INFO org.apache.maven.scm.manager.plexus.DefaultScmManager - Working directory: C:\Documents and Settings\svc_uwp_build_user\.jenkins\jobs\nexus-release-test\workspace\Common
[pool-1-thread-1] ERROR org.apache.maven.scm.manager.plexus.DefaultScmManager - Error: Problems were encountered while displaying commit feedback, but the operation completed properly.

[pool-1-thread-1] INFO org.apache.maven.scm.manager.plexus.DefaultScmManager - Executing: cmd.exe /X /C "scm deliver --repository-uri https://uk01prtc001:9443/jazz --username mcjaff --password ***** --source CI_DEMO_WOrkspace --target CI_DEMO --overwrite-uncommitted"
[pool-1-thread-1] INFO org.apache.maven.scm.manager.plexus.DefaultScmManager - Working directory: C:\Documents and Settings\svc_uwp_build_user\.jenkins\jobs\nexus-release-test\workspace\Common
[pool-1-thread-1] ERROR org.apache.maven.scm.manager.plexus.DefaultScmManager - Error: com.ibm.team.repository.common.TeamRepositoryException: Failed to acquire locks on requested sandboxes in 60000ms.
at com.ibm.team.filesystem.rcp.core.internal.rest.FilesystemRestClient.postRegisterSandboxes(FilesystemRestClient.java:1787)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.ibm.team.filesystem.client.daemon.JSONHandler.handle(JSONHandler.java:321)
at com.ibm.team.filesystem.client.internal.http.HttpConnection.readNextRequest(HttpConnection.java:628)
at com.ibm.team.filesystem.client.internal.http.HttpConnection$1.run(HttpConnection.java:470)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
at com.ibm.team.repository.common.internal.marshal.util.MarshallerUtil.decodeExceptions(MarshallerUtil.java:326)
at com.ibm.team.repository.common.serialize.internal.JSONDeserializer.deserializeErrorObj(JSONDeserializer.java:957)
at com.ibm.team.repository.common.serialize.internal.JSONDeserializer.deserializeException(JSONDeserializer.java:933)
at com.ibm.team.filesystem.client.internal.marshalling.EObjectJSONDeserializer.deserializeError(EObjectJSONDeserializer.java:72)
at com.ibm.team.filesystem.client.restproxy.RestInvocationHandler.executeRequest(RestInvocationHandler.java:267)
at com.ibm.team.filesystem.client.restproxy.RestInvocationHandler.executeAndReturnResult(RestInvocationHandler.java:221)
at com.ibm.team.filesystem.client.restproxy.RestInvocationHandler.invokeInternal(RestInvocationHandler.java:368)
at com.ibm.team.filesystem.client.restproxy.RestInvocationHandler.invoke(RestInvocationHandler.java:311)
at $Proxy0.postRegisterSandboxes(Unknown Source)
at com.ibm.team.filesystem.cli.core.util.SubcommandUtil.registerSandboxes(SubcommandUtil.java:970)
at com.ibm.team.filesystem.cli.client.internal.flowcommands.DeliverCmd.run(DeliverCmd.java:1316)
at com.ibm.team.filesystem.cli.core.internal.SubcommandLauncher.run(SubcommandLauncher.java:651)
at com.ibm.team.filesystem.cli.core.internal.SubcommandLauncher.doStart(SubcommandLauncher.java:398)
at com.ibm.team.filesystem.cli.core.internal.SubcommandLauncher.run(SubcommandLauncher.java:175)
at com.ibm.team.filesystem.cli.core.internal.Application.start(Application.java:39)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
Problem running 'deliver':
Could not register sandboxes

0 votes


Be the first one to answer this question!

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Feb 20 '14, 6:00 a.m.

Question was seen: 4,266 times

Last updated: Feb 20 '14, 6:05 a.m.

Confirmation Cancel Confirm