Jazz Jazz Community Blog What’s new in Team Concert Jenkins plug-in 1.2.0.0

We are pleased to announce that Team Concert Jenkins plug-in 1.2.0.0 is here!

About Team Concert Jenkins plug-in

Team Concert Jenkins plug-in integrates Jenkins with Rational Team Concert’s (RTC) SCM and Build capabilities using the richer features of the build toolkit. It provides options to configure Jenkins jobs to use RTC source control. Jenkins jobs can also be configured to use the source control options specified in an RTC build definition, facilitating Jenkins builds to be managed from RTC and take advantage of the traceability provided across RTC work items, builds, and change sets. The plug-in also publishes the changelog information in the Jenkins builds and supports polling.

RTC Jenkins plug-in

The Team Concert Jenkins plug-in works with build toolkit versions starting from 4.0.7. The plug-in can be downloaded from here.

Enhancements in 1.2.0.0 include the following:

Additional build configurations

The following build configurations are supported for RTC SCM in addition to Build Definition and Build Workspace configurations.

  • Load from a Snapshot

This configuration is mainly intended to be used in builds that capture the current state of the RTC SCM workspace/stream in a snapshot and start downstream builds that would populate the Jenkins workspace from the passed snapshot. Parameterized Trigger plug-in can be used to start a downstream snapshot build. Loading from a snapshot that is directly specified in the job configuration, either by name or UUID, is also supported. Loading from a snapshot is useful when concurrent builds have to be executed on the same configuration.

Load Using Snapshot

A change log is not generated and polling is not supported for loading from a snapshot, as it is an immutable configuration.

  • Load from a Stream

This configuration supports building from the current state of the specified stream. Subsequent builds capture the changes made to the stream since the previous build.

Load Using Stream

In this configuration, you can choose the change log to be generated by comparing the current build with the previous successful build. The default option is to compare with the last executed build, successful or otherwise.

Successful Build Compare

Load and Accept options

Some of the load and accept options that were previously configurable only in RTC build definitions are now supported in the Jenkins job configuration for RTC SCM. The accept and load options are available for build configurations other than Build Definition.

  • Load options

You can configure the directory on the build machine where the repository files will be loaded. You can also delete the contents of the load directory before reloading. You can choose to create folders for components, in which case the load directory has folders for components at the top level and each of these folders has the files and folders for that component.

Load Options

  • Accept options

When you load the Jenkins workspace from an RTC SCM workspace, you can configure whether to accept latest changes before loading.

Accept Options

1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 4.00 out of 5)
Loading...
2 Comments
  1. Andrew Pollack May 27, 2016 @ 9:46 am

    I am having the issue that when I use the “create folders for components” option with Build Workspace, my resulting workspace has embedded folders for a single component. For example, if I have a component titled “Build”, my Jenkins workspace will result with a folder structure that has /Build/Build/… If I choose to not use this option, the build fails, as I have an item with the same name in two different components. Am I using this option incorrectly?

  2. Lakshmi Narasimhan Vaikuntam May 31, 2016 @ 11:58 am

    When using the “Create Folders for components” option, the plugin will create top level folders matching the names of components in the Build Workspace. Contents of each component are loaded under the top level folder which has the same name as that of the component.

You must be logged in to post a comment.