It's all about the answers!

Ask a question

RTC + Jenkins Post Build Deliver activity

Krishnakumar Gurumurthy (877) | asked Feb 26 '15, 3:44 a.m.
We are trying to achieve post-build delivery from Jenkins and I'm trying to run the below command -

jbe.exe -repository -userId <valideuserid> -passwordFile pass.txt -engineId POSTBLD
-buildResultUUID _7lptoLKhEeS-P6GoRUZIqw -participants -noComplete -verbose

Java(TM) SE Runtime Environment (version 1.8.0_31-b13)
Engine Bundle Version:, 3.0.1000.v20140723_0131
2015-02-19 16:36:01 [Jazz build engine] Searching for buildResultUUID=_7lptoLKhEeS-P6GoRUZIqw
2015-02-19 16:36:01 [Jazz build engine] The -noComplete argument was specified. The build result will not be completed by JBE.
2015-02-19 16:36:01 [Jazz build engine] Building only the specified participants: "[]"
2015-02-19 16:36:02 [Jazz build engine] Not using a proxy to reach https://XX.XX.XX.XX:9443/ccm
2015-02-19 16:36:02 [Jazz build engine] CRRTC3524W: Communication with the repository failed due to this error: CRJAZ1368E The following URL cannot be reached: https://XX.XX.XX.XX:9443/ccm/versionCompatibility?clientVersion=5.0.1. The network stated that the URL is invalid. Error details: java.nio.channels.UnresolvedAddressException.
2015-02-19 16:36:02 [Jazz build engine] Exiting JBE after completing single build request, RC=1.
CRRTC3529W: The execution of Jazz Build Engine completed with a non-zero return code (RC=1).

we could see native RTC Jazz build engine process the post build delivery without any issues and looks like it is using the same api. Why is it failing if we are invoking externally (from jbe command prompt) ?

2015-02-19 06:21:00 [Jazz build engine] Invoking post-build participant ""
2015-02-19 06:21:02 [Jazz build engine] Delivering components...
2015-02-19 06:21:02 [Jazz build engine] Post-build deliver complete.
Summary of Post-build Deliver:
   Build Workspace:
      "CI-Main-Dev-WS-IntBuild" (_xkofYBYuEeOFMdLnqolfUA)
   Deliver Target:
      "CI-Main-Rel" (_XquiIBYuEeOFMdLnqolfUA)
      "CI-Main-Integration-Build_20150219-0530" (_CYjswLfwEeSyV9qb8iw7bQ)
   Added Components:
   Replaced Components:
      Component "CI" (_29lYwA4lEeO_LM5kY7mMZA) with baseline "CI-Main-Integration-Build_20150219-0530" (_CYjFsLfwEeSyV9qb8iw7bQ)
   Removed Components:

One answer

permanent link
Krishna Kishore (50112) | answered Feb 26 '15, 7:33 a.m.
Looks like the JBE is not able to communicate with the RTC server their is a communication error being thrown by the JBE "The following URL cannot be reached: https://XX.XX.XX.XX:9443/ccm/versionCompatibility?clientVersion=5.0.1. "
Make sure the machine where the JBE is running has access to the RTC server, if using a proxy make sure the proxy credentials are passed correctly to the JBE.


Krishnakumar Gurumurthy commented Feb 26 '15, 8:07 a.m.

jbe -repository -userID <validuserid> -passwordFile pass.txt -engineId POSTBLD

Above command to start the Jazz Build engine works perfectly which means the Jazz Server is accessible from the machine where jbe runs.

Your answer

Register or 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.