Jenkins : ClearCase Plugin Changelog

This page lists changes done on the Clearcase plugin over time.

Version 1.6.2 (October 20th 2015)

Version 1.6 (April 12th 2015)

  • Requires Jenkins Core 1.580.3+
  • Improvement: MultiSite delay documentation improvement (in response to JENKINS-9703), thanks Waldek Maleska
  • Improvement: The configurable delay for endview now applies also to rmview and to dynamic views (JENKINS-26719)
  • Bugfix: Handle gracefully history entries with no version information (only ucm activity metadata) (JENKINS-27733)
  • Bugfix: Choosing "No History" option in Changeset still brings back history (JENKINS-27104)

Version 1.5.3 (October 24th 2014)

  • Bugfix : allow multiple branches to be specified by a single build parameter (pr #31)
  • Bugfix : [ucm] when polling, an invalid view should trigger the build (f2c0eb)

See Complete changelog

Version 1.5.2 (July 7th 2014)

  • Bugfix: Fixed form saving for endview delay

Version 1.5.1 (July 3rd 2014)

  • Improvement: Call endview after checking out the view. This saves view_server process number.
  • Improvement: Allows to optionally specify a delay after the endview command.
  • Bugfix: Fix behaviour of doesViewExist in case an unhandled cleartool error is returned.

Version 1.5 (February 12th 2014)

  • Improvement Add logging to let the user know why polling did trigger a build or not
  • Bug fix : Fixed a file separator issue when master and slave are using different OS family JENKINS-18416
  • Bug fix : When multi-site polling buffer is used, only compare with previous buildJENKINS-17882
  • Bug fix : Resolve parameters in config spec JENKINS-21626
  • Bug fix : Fixed some environment inconsistency when polling on a node which doesn't have any workspace anymore

Version 1.4 (October 04th 2013)

  • New feature : It is now possible to create a view on the foundation baseline of a given stream
  • Bug fix : Deleting branch causes build failure in clearcase plugin issue #4099
  • Bug fix : Implemented workaround for issue #18368

Version 1.3.19 (July 18th 2013)

  • Bug fix : Unrecognized option "-overwrite" with 2002 version of ClearCase issue #18819

Version 1.3.18 (July 16th 2013)

  • Bug fix : When wiping a workspace (using wipe workspace, or while deleting a job), only the view tag was removed, not the view directory.

Version 1.3.17 (July 8th 2013)

  • Bug fix : UCM In some cases, the update fails because of getUpdtFile() not implemented

Version 1.3.16 (July 8th 2013)

  • Bug fix : Fix Updating snapshot view on master fails with "Unconnected pipe" issue #18650

Version 1.3.15 (July 7th 2013)

  • Bug fix : Fix distributed builds when using Use updt file to determine the change set issue #16122
  • Bug fix : Fixed executing a build leads to NPE issue #16624
  • Improvement : Implement ChangeLogSet#getAffectedFiles() in UcmActivity
  • Improvement : UCM : Use setcs -stream instead of update if Clearcase supports it (at least v7)
  • Task : Implement clearcase version detection and comparison

Version 1.3.14 (January 30th 2013)

  • Bug fix : Fixed backward compatibility with Clearcase UCM Baseline plugin
  • Bug fix : Made deprecated field viewStorageFactory transient
  • Bug fix : Fixed linux platforms because of case error issue #16165

Version 1.3.13 (January 17th 2013)

Version 1.3.12 (January 3rd 2013)

  • Bug fix : Clearcase plugin does not update view if load rules are changed. issue #15776
  • Bug fix : Cleartool temp logs file were not deleted.
  • Bug fix : Create view if view doesn't exist doesn't work for dynamic views issue #11898
  • Bug fix : Retrieve polling node from Launcher issue #14247

Version 1.3.11 (October 23rd 2012)

  • Bug fix : Do not trigger build if automatic time rule is used. issue #15202
  • Bug fix : Clearcase plugin (greater than 1.3.5) doesn't display activity chain in change log. issue #15591
  • Bug fix : Fix handling of some corner case where the view gets invalid and isn't removed properly.
  • Improvement : Put clearcase logs in a subdirectory, and delete them on every new build since we already put them in the logs.
  • Improvement : Adding some information message to clarify why a view gets removed.

Version (September 17th 2012)

  • Bug fix : Plugin uses cleartool.cmd instead of cleartool.exe issue #15196

Version 1.3.10 (September 17th 2012)

  • Bug fix : Changelog wasn't not called anymore when roaming from one slave to another
  • Bug fix : Update summary is not displayed when running job on a dumb slave. issue #15186
  • Bug fix : UCM : lshistory is not called anymore when using automatic load rules issue #15185

Version 1.3.9 (September 14th 2012)

  • Various patches from anb0s (see pull request)
  • Improvement : do not display update logs when not required
  • Bug fix : fix a polling issue that prevented new builds when the view became invalid.
  • Change : when the view gets invalid, remove it instead of renaming it

Version 1.3.8 (August 30th 2012)

  • Improvement : new token DASH_WORKSPACE_NUMBER to ensure compatibility with concurrent builds on the same slave
  • Improvement : Implemented getAffectedFiles for use with email-ext HTML jelly template
  • Bug fix : Do not prevent polling if job can be executed concurrently issue #8682
  • Bug fix : Exception errors in hudson log issue #8561
  • Bug fix : Can't use a env parameter for "Stream selector" when recommended baseline is selected issue #11824

Version 1.3.7 (November 21th 2011)

  • Improvement : ability to recommend composite baselines
  • Improvement : Changed @ to @@ which is typically seen on ClearCase client systems. (pull #4)
  • Bug fix : Several changes to cleartool describe to handle path containing spaces
  • Bug fix : workaround for failures in clearcase update
  • New feature : Allow user to specify where to store view metadata
  • Improvement : Re-fix HUDSON-8497 : Use job parameters in load rules issue #8497

Version 1.3.6 (May 29th 2011)

  • Bug fix : Clearcase error after user canceled previous update issue #6702
  • Improvement : Disable lshistory issue #7122
  • Bug fix : Job name is lost in ClearCase view tag when running matrix job issue #9433

Version 1.3.5 (January 5th 2011)

  • Improvement : Enabled tracking changes on a label (thanks raspy) issue #7218
  • Bug fix : NPE when job started while delivery in progress issue #8230
  • Disabling changelog for rebases as it consumes too much memory/time. (no JIRA issue)
  • Remove dependency to deprecated method in core (this method will be removed in a future core release)

Version 1.3.4 : Skipped because of release problems, see 1.3.5

Version 1.3.3 (November 9th 2010)

  • Bug fix : Fails to resolve build properties in IVY. This depends on Hudson core 1.382 to actually work (although the plugin doesn't require 1.382 minimum)
  • First version released from Github ( If you want to contribute patches, this is the best way to do it !

Version 1.3.2 (October 28th 2010)

type key summary

Can't show details. Ask your admin to whitelist this Jira URL.

View these issues in Jira

Version 1.3.1

  • Released August 4th 2010
  • Bug fix : The parsing of "baselines desc" command fails when cleartool error occured (issue #7015)
  • Bug fix : clearcase plugin attempts and fails to remove view on job deletion (issue #6729)
  • Bug fix : Lost of Clearcase configuration during maven site (issue #7027)
  • Bug fix : Multiple pvobs in project config not supported now (issue #7014)
  • Bug fix : Polling not working anymore with Clearcase Base (issue #6999)
  • Bug fix : When a view tag exists but the view path has been deleted, the view cannot be created.
    Workaround is to execute 'cleartool rmview -force -tag <viewtag>' and relaunch the build

Version 1.3

  • Released July 13th 2010
  • Information : This new version stores additional information about the SCM state. As such, when upgrading, a new run of your jobs triggered on SCM polling will be launched in order to record config spec (for Base Clearcase) or foundation baselines (UCM)
  • New feature : Load rules should be derived from stream foundation - not typed in by user (issue #5898)
  • New feature: UCM : Implement SCM new polling logic to support rebases better (issue #6705)
  • Improvement: Allowing view path not to be the same as view tag (issue #6227)
  • Bug fix (Regression) : Load rules containing spaces not handled properly (issue #4443)
  • Bug fix : Job failure after changing clearcase load rules (issue #6591)
  • Bug fix : ClearCase error after user canceled previous update (issue #6702)
  • Bug fix : cleartool rmview -tag is not supported by Clearcase LT (issue #6806)
  • Bug fix : Recent Changes are not accurate with Clearcase UCM (issue #3538, fixed by issue #6705)
  • Bug fix : Clearcase polling can take a huge amount of time (issue #5255, fixed by issue #6705)
  • Bug fix : Lshistory polling/changelog misses certain file changes during rebase. (issue #1717, fixed by issue #6705)

Version 1.2.1

  • Released June 5th 2010
  • Bug fix: Allow variables to be parsed in configspec field (issue #5568)
  • Bug fix: Job failure after changing clearcase load rules (issue #6591)
  • Bug fix: Newly created development stream cannot be built (issue #1719)
  • Bug fix: ClearCase error after user canceled previous update (issue #6702)

Version 1.2

  • Released May 5th 2010
  • Bug fix: If load rules ended with slash or backslash, no checkins would ever be registered as valid changes. (issue #5342)
  • Bug fix: Handle variable replacement in view name properly during job deletion or renaming. (issue #5364)
  • Bug fix: Removing existing snapshot views often fails. (issue #5574)
  • Bug fix: Use 'cleartool setcs -current' instead of 'cleartool update' (reopened) (issue #4569)
  • RFE: add ClearCase report. Shows ClearCase related information: for builds running with base ClearCase configuration show the the CSPEC that was used. For builds running with UCM ClearCase show the stream and baselines that were used (baselines will be shown only if CodeFreeze option was selected in the UCM ClearCase configuration).
  • RFE: UCM - Implement code freeze for dynamic view. This includes adding new workflow for UCM checkout: create build stream as a child of the configured stream and use that stream for building.
  • RFE: UCM - Implement clean build for dynamic view. This is implemented by removing and recreating the view on each build.
  • RFE: UCM - support overriding the configured stream by STREAM parameter.
  • RFE: UCM - support running concurrent builds on different streams. Implemented by dynamically allocating view name.
  • RFE: Better handling of job renaming/deletion and behaviour regarding custom workspace
  • RFE: Plugin will be more resilient in case of existing view tag or view path in the way. Instead of failing, it will remove the view tag and/or rename the view path.

Version 1.1.1

  • Released Jan 16 2010
  • Bug fix: Adding -overwrite to setcs call broke with ClearCase 6 - setcs there didn't yet support -overwrite. Removed -overwrite. (JENKINS-5212)
  • Bug fix: Variable replacement depending on Computer in view name now works properly during polling. (JENKINS-5214)
  • Bug fix: Add support for computer environment variables being used in view name macros. (JENKINS-5222)
  • Bug fix: NPE when using existing UCM jobs without override branch name specified - now we check for null, just to be safe. (JENKINS-5238)
  • Bug fix: Made normalizedViewName thread-local in order to support node name resolution in matrix configurations properly. (JENKINS-2934)
  • Bug fix: UCM updates now use the -overwrite option. (JENKINS-4775, JENKINS-3588)
  • Bug fix: Dynamic view setcs calls now made from view root, not workspace root. (JENKINS-5243)
  • Bug fix: Fixed dynamic view getModuleRoot having extra slash in cross-platform master/slave use cases. (JENKINS-4526)

Version 1.1

  • Released Jan 5 2010
  • Bug fix: Load rules containing spaces are now handled properly in cleartool calls. (JENKINS-4443)
  • Bug fix: Use cases where the slave is run in a setview shell (so that the dynamic view is already started and source is accessed directly through, say, "/vobs/foo") are handled properly for polling and determining changelogs.
  • RFE: Changing from using "cleartool update" to "cleartool setcs -current" for base snapshot views (and calling "cleartool setcs -current" for base dynamic views without changes in the config spec) to handle included config specs, etc. (JENKINS-4569)
  • RFE: Added optional, advanced option for UCM jobs for branch name - by default, stream is used, but if the override branch name is specified, it will be used for polling/changelog instead. (JENKINS-4575)
  • Bug fix: Discovered that views were still not being properly deregistered when processWorkspaceBeforeDeletion gets called - changed that to remove view tag instead, just to be safe.
  • Bug fix: Use of "/" in load rules for Windows jobs no longer causes all lshistory entries to be ignored. (JENKINS-4781)
  • Bug fix: Will no longer hit NPE when attempting to delete views on rename of project when the view has never been created. (JENKINS-4869)
  • Bug fix: Properly erroring out when we can't update a view due to an update already being in progress. (JENKINS-4892)
  • Bug fix: Changes to load rules in base ClearCase jobs weren't being handled properly. (JENKINS-4901)
  • Bug fix: Load rules matching in history filtering was too greedy. (JENKINS-5012)
  • RFE: New option for base dynamic views to freeze config spec at build start time, using time rule. (JENKINS-4652)
  • RFE: When checking out for a snapshot view, before creating a new view, Hudson now checks to see if the given view tag already exists. If so, the checkout fails and an appropriate error message is logged. (JENKINS-4653)
  • RFE: Added advanced global option for standard view name pattern - when given, all jobs will use that for their view name, replacing variables as normal. (JENKINS-4675)
  • RFE: Added "${OS}" as variable which can be replaced in view names with the "" Java system property.
  • RFE: Added call to "startview" and "mount -avob" before lshistory is run on dynamic views. (JENKINS-4676)
  • RFE: Advanced option for having dynamic views created, rather than solely using existing views. Still very much raw functionality - optional mkview parameters need to be specified, but there is currently no check for them. (JENKINS-4674)
  • Also cleaned up code a lot, and got rid of deprecated calls whenever possible.

Version 1.0.2

  • Bug fix: Case sensitivity problems in extended view path comparison were introduced by the change to "lshistory -all" - they should all be cleared up now. (JENKINS-3666, JENKINS-4330)
  • RFE: New option to specify a polling buffer in minutes - will be subtracted from previous build's start time to determine when to poll against. (JENKINS-3454)

Version 1.0.1

  • Bug fix: Macros in view name weren't being processed in createHistoryAction, before running cleartool pwv. (JENKINS-4385)
  • Bug fix: Load rules in configuration can handle "load " in them properly now. (JENKINS-4396)

Version 1.0

  • Behavior change: Requiring "load rules" to be specified (separately from config spec) for base ClearCase, and all dynamic views. This provides support for lshistory -all, and future extensions such as labeling.
  • Behavior change: Use of "lshistory -all" rather than "lshistory -recurse" - dramatic performance improvements, better change detection. Requires reconfiguration of existing jobs. This provides an enormous performance improvement in polling for jobs with large source trees.

Version 0.9.1

  • RFE: Dynamic UCM views no longer call "chstream -generate", based on this discussion.
  • Bug fix: UCM config spec wasn't using proper line endings. (JENKINS-4027)
  • Bug fix: Forcing US locale for lshistory timestamp format, since that's what ClearCase expects. (JENKINS-3994)

Version 0.9

  • Bug fix/behavior change: Change to config spec (for base ClearCase jobs) or load rules (for UCM ClearCase jobs) when "Use Update" is selected will no longer lead to view removal and recreation. Instead, config spec of existing view will be changed. (JENKINS-3672)
  • Bug fix: View is properly deleted when job is deleted, workspace is deleted by automatic workspace cleanup, workspace is wiped out manually with "Wipe Out Workspace", or job is renamed, if "Remove view on rename" is selected. Also, "Remove view on rename" setting now sticks properly. (JENKINS-2209, JENKINS-3095, JENKINS-3508)
  • Bug fix: Handling of line endings improved in general - modified splits, comparisons, etc to properly handle both Windows and Unix line endings. (JENKINS-3694)
  • Behavior change: When using existing dynamic views, the ClearCase plugin will now report to the Hudson project that the "module root" is /view/view_name (or m:\view_name, or whatever is specified as the view drive), allowing for the M2 project type and the like to run from within the dynamic view.

Version 0.8.4

  • Bug fix: properly ignoring empty-string excluded regions now (JENKINS-3622)
  • Added LICENSE.txt to src/main/resources, which will now be bundled in the hpi.

Version 0.8.3

Version 0.8.2

  • New feature: support for excludedRegions, patterns in filenames/paths to be ignored when polling for changes.
  • New feature: support $CLEARCASE_VIEWNAME and other environment variables in mkview optional parameters (JENKINS-2994)
  • New feature: option to remove view when job name is changed (JENKINS-3095)
  • Bug fix: fixed lshistory timing issues when master and slave are in different timezones (JENKINS-2493)
  • Bug fix: extra newline characters in lshistory removed (JENKINS-2801)
  • Bug fix: loading remove/create UCM snapshot view fixed (JENKINS-2846)
  • Bug fix: no longer attempts to remove non-existent view when update only is not selected for UCM (JENKINS-2902)
  • Bug fix: better multiplatform support (JENKINS-2939)
  • Bug fix: better handling of multiple VOBs with UCM (JENKINS-3097)
  • Bug fix: UCM update-only snapshot views no longer always removed/recreated (JENKINS-3184)
  • Bug fix: support UCM dynamic view baseline creation (JENKINS-3186)
  • Bug fix: issue with createdBaselines variable in UcmMakeBaseline (JENKINS-3304)
  • Bug fix: if excludedRegions were not given, all changes were rejected - fixed (JENKINS-3325)

Version 0.8.1

Version 0.7.1

  • Added Tagging support for UCM clearcase (Baselines) (JENKINS-1649)
  • Removing jobs will now remove view from Clearcase server (JENKINS-1050)
  • Check that config rules contains load (JENKINS-1062)
  • All views can be listed from the configuration page (JENKINS-1067)

Version 0.6

  • Added activity based UCM changelog.
  • Added option to not trigger build on downstream branch destroys (JENKINS-1470, discussion)
  • Fixed problem with too many open files (JENKINS-1921)
  • Fixed problem with Priocess leaked file descriptors (JENKINS-1946)
  • The view-extended pathname is removed from file paths in dynamic view events (JENKINS-1885)
  • The view name can now contain properties which are replaced before usage. ${USER_NAME} and ${JOB_NAME} (JENKINS-1715)
  • Implemented SCM methods getModuleRoot() so the SCM can work better with builders. (JENKINS-1848)

Version 0.5.2

  • UCM Load rules begining with double "\" or "/" no longer throws an exception when retrieving the history (JENKINS-1706)
  • UCM Load rules no longer loses single "\" (JENKINS-1707)

Version 0.5.1

  • Replaced setview call with startview when checking out dynamic views.(JENKINS-1631)

Version 0.5

  • Initial support for ClearCase UCM. It can now use UCM streams and apply load rules to them. The plugin has now two SCM configuration points, Base ClearCase and UCM ClearCase. (JENKINS-1580)
  • Changeset items are now listed in XML API (JENKINS-1325)
  • File element changes with version 0 is now also ignored on linux/solaris (JENKINS-1465)
  • Added CLEARCASE_VIEWPATH environment variable that contains the absolute path to the ClearCase view (JENKINS-1480)
  • Changeset items are now marked with an icon depicting if the item was added, removed or checked in. (JENKINS-1068)
  • Fixed so "setview" will be called on all dynamic views in every build (JENKINS-1484)

Version 0.4

  • Added option to set additional arguments when creating the snapshot view using 'mkview'.
  • Fixed problem with merged entries so the oldest date/time is used for the merged entry.
  • Sorts the list so the latest entry is placed at top.

Version 0.3.3

  • Time window for merging commits can now grow to include all entries in one commit. (JENKINS-1079)
  • Rephrased all "Clear case" to "ClearCase" and "clear tool" to "cleartool"

Version 0.3.2

  • Fixed issue with '^M' characters in the config spec when running on unix/linux.
  • Improved help section about view root (thanks to Jason Messmer)
  • Better error handling when the cleartool command is not set (JENKINS-1086)

Version 0.3.1

  • Fixed a problem when the SCM object was serialized and not created through the constructor.

Version 0.3

  • Added option to use multiple branches when polling for changes (JENKINS-1028).
  • Added functionality that checks if the config spec needs to be updated (both dynamic and snapshot) (JENKINS-1027).
  • Added support of using existing dynamic views. The plugin will not create dynamic views.
  • Added option to use multiple VOB paths when polling for changes (JENKINS-1053)
  • Added feature that merges change log entries that have the same user, comment and time (JENKINS-924)
  • Fixed so the plugin will not start a "cleartool update" after the view has been updated with the "cleartool setcs" command.
  • Fixed a poll changes bug when the plugin is used by a maven job (JENKINS-1029).
  • Fixed so plugin works with JDK1.5 (JENKINS-1053)
  • Fixed a bug that occurred when the user removed the view, then the poll changes would throw an exception. (JENKINS-923).

Version 0.2.1

  • Fixed a unicode problem with the change log xml file

Version 0.2

  • Reworked the plugin so it will use a config spec to retrieve files from the Clear case repository. The files are retrieved into the workspace as other SCMs.
  • Fixed so the annotation plugins works as they should
  • Added the environment variable CLEARCASE_VIEWNAME that contains the view name
  • Rewrote the history parsing to fix a NPE.
  • Added option to see the cleartool version and verify that Hudson can use it

Version 0.1

  • First version!base_standard_config.png|align=right!