2

Is it possible to execute a Post-build Deliver when using Jenkins server with RTC source?

This is my process;

  1. When a job is started Jenkins connects to RTC Source using the Rational Team Concert plugin and fetches the required code. (Connects to RTC using a build definition which contains details of the workspace to use. This build definition also contains details of the post-build steps)
  2. Jenkins tests/builds/deploys application
  3. Job completes with a status of success.

When I open the results view for the build definition associated with this Jenkins job i notice the absence of any post-build delivery information in the Contribution Summary.

Using the setup I've mentioned should Post-build Delivery be possible?

cdugga
  • 3,849
  • 17
  • 81
  • 127

2 Answers2

2

@niloc,

The ability to initiate a post-deliver option currently only exists in JBE (Jazz Build Engine). There currently is an enhancement open to improve this for the Team Concert Plugin for Hudson/Jenkins ... Teamconcert plugin to trigger Post-Build Events configured in RTC Build Definition.

However, Heather describes a work around in a comment on 05/Dec/13.

Scott

Scott Cowan
  • 165
  • 4
  • Hm... I configured a jazz build engine, run the jbe magic command, finds no errors in any log other than that the build step is running, but nothing happens. Where do I look for errors? – KarlP Aug 11 '14 at 15:14
1

The post-build delivery step can only be set in the build definition with in RTC.

Jenkins won't know anything about it: it doesn't execute that step. RTC does.

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • thanks @VonC so i just want to clarify; Jenkins will use the build definition to pull down the repository workspace however the post-build step will not be executed because Jenkins doesn't know or care that it exists. However when Jenkins completes it does send a status back to the RTC build definition and RTC in turn marks the build definition run as a success. So there is cross communication between Jenkins and RTC. – cdugga Feb 03 '14 at 11:06
  • @niloc Jenkins calls RTC, and then waits for RTC to give the sources. RTC starts by putting a snapshot (as it does for any build, Jenkins or not), then gives the sources. When RTC is notified by Jenkins of the job completion, it should trigger the post-build deliver step. Jenkins isn't aware of that final step. – VonC Feb 03 '14 at 12:17