Change By: Natalie (23/Nov/12 4:07 PM)
Description: Hello,
Since a few days the clear case polling does not work anymore (I'm not 100% sure if it ever worked...). However when I trigger a manual update of the CC view by clicking on "Build now" it works fine. The problem is just the polling.

I've attached the scm-polling.log. Extract:
--
[<jobname>] $ cleartool catcs -tag <tagname>
FATAL: Cannot run program "cleartool" (in directory "/home/<username>/jenkins/workspace/<jobname>"): error=2, A file or directory in the path name does not exist.
java.io.IOException: Cannot run program "cleartool" (in directory "/home/<username>/jenkins/workspace/<jobname>"): error=2, A file or directory in the path name does not exist.
--

Apparently it cannot find the cleartool executable (it is not in the PATH by default).
Therefore I've upgraded from Jenkins 1.477 to 1.491, but in the new version it doesn't work either. I'm using Jenkins ClearCase Plug-in 1.3.11.
The operating system of the node for clearcase is IBM AIX Unix.

In .bashrc, .profile and .bash_profile the PATH variable is extended by the path to cleartool (export PATH=$PATH:/usr/atria/bin).

In the Jenkins System configuration I've configured the shell executable as "/usr/bin/bash". But leaving this field empty does not make a difference.

Node configuration for the IBM aix machine:
- Environment variables:
    name:  PATH
    value: $PATH:/usr/atria/bin
- Tool Locations:
    Name:  (Clear Case) Clear Case
    Home:  /usr/atria


I'm just a C++ developer, not a Java developer. So I have no clue how to fix this. I could try to debug Jenkins with dbx (although I never didi this before). Or can you send me a developer compile which provides more tracing?

Thanks in advance.
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to