user1356996
user1356996

Reputation: 13

Jenkins and ClearCase plugin not copying files to workspace

We are using the ClearCase plugin for Jenkins (https://wiki.jenkins-ci.org/display/JENKINS/ClearCase+Plugin) and we are running into an issue where we use a dynamic view and the plugin detects changes in the source files in the view and kicks off the build but does not copy files from the view to the Jenkins workspace.

No error message. No failed build message. Just nothing.

Is this working as designed? How are other folks getting the files that have changed from the view?

Upvotes: 1

Views: 1228

Answers (1)

VonC
VonC

Reputation: 1323793

Last time I saw a similar case, it was for a dynamic view with:

  • incorrect loading rule
  • or no loading rules at all (since a dynamic view has no "load rules" at all), which isn't compliant with the documentation of the plugin:

Specify one or more load rules - this is required, even with a dynamic view.
The load rules are used both for determining the contents of snapshot views and for constructing the "cleartool lshistory" command used for polling and generating changelogs.

Note there are quite a few pending bugs regarding that plugin, so you might see one of those.
I would make sure the process used by Jenkins can access and copy a file from the dynamic view by making that copy part of a build script, in order if that script (outside of any polling mechanism from the CC plugin) does execute successfully or not.

Upvotes: 1

Related Questions