-
Bug
-
Resolution: Fixed
-
Major
-
Windows7
Hello *,
I'm currently updating jenkins clearcase plugin to version 1.3.14.
The feature that the config spec can be read from a file is great because it will save me a lot of work.
Unfortunately it is not working in my configuration.
Description:
The config spec file contains e.g. the following line:
element /MyVOB/... .../MyBranch/LATEST
Jenkins is running on a Windows7 machine. The "cleartool catcs" command will print the above line with backslash instead of slash:
element \MyVOB\... ...\MyBranch\LASTEST
Jenkins therefore permanently detects changes in the config spec and is building the project although it is not necessary.
The plugin should be able to deal with \ and /.
EDIT:
Seems like this problem is not directly related to the "read config spec from file" option.
The new plugin always detects changes in the config spec, even when I disable this feature.
Configuration was working with Plugin 1.3.6.
See attached screenshot for configuration details of 1.3.6.
I fell into that pit, too.
It seems to be intependent if the CS is read from file or defined static in the Jenkins job.
When Jenkins sets the config-spec on Windows platforms it obviously converts slashes to backslashes,
which results in the mentioned CS mismatch (and e.g. triggers SCM polled builds).
I fixed it by changing the CS definition in Jenkins to use backslashes.
Accepting both by the plugin would be nice. However, at least in our environments VOBs
are located below the root directory on Windows and below /vobs on Unix.
So config-specs at least for us are platform specific.