Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-18818

Jenkins can't launch a C++ application which uses commandes from Tekvisa Library

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Blocker Blocker
    • I'm using Jenkins (1.522 version) under Windows7 OS

      Hello everyone,
      I'm trying to launch a C++ application which uses "TekVISA" library associated to "Tektronix" products through Jenkins : So i tried to launch it using "commande Batch Windows", "python Script", "Windows Exe Runner plugin" ... ===> But always i had the same message in the 'Console Output':
      """A code library required by VISA could not be loaded"""
      (knowing that my application can be launched without any error message if i delete the commandes related to "TekVISA library".
      Knowing also that my application is fonctionnal when I run it in local (without using Jenkins).) .

      It seems like Jenkins can't find or load the library files:
      So please can you help me: is there any missing configuration should be done in Jenkins to let it know the path to the library ? or another way to execute my application I can try it ?

      Thanks in advace

      I'll attach a snopshot to the "Console Output"(using the Windows Exe Runner plugin )

          [JENKINS-18818] Jenkins can't launch a C++ application which uses commandes from Tekvisa Library

          David Boyce added a comment -

          This is likely to be due to a difference in the PATH variable for Jenkins compared to your local user account. You can examine this by running "set PATH" as a command in the two environments.

          See also http://msdn.microsoft.com/en-us/library/7d83bc18.aspx "Search Path Used by Windows to Locate a DLL"

          David Boyce added a comment - This is likely to be due to a difference in the PATH variable for Jenkins compared to your local user account. You can examine this by running "set PATH" as a command in the two environments. See also http://msdn.microsoft.com/en-us/library/7d83bc18.aspx "Search Path Used by Windows to Locate a DLL"

          Daniel Beck added a comment -

          No response to comment posted months ago with suggestions what possible solutions to investigate, so resolving as Incomplete.

          This is more of a support request anyway; any further inquiries related to this should probably be directed to the jenkinsci-users mailing list. It's possible this happens because Jenkins runs as SYSTEM after installed as service on Windows by default (something the report does not mention).

          Daniel Beck added a comment - No response to comment posted months ago with suggestions what possible solutions to investigate, so resolving as Incomplete. This is more of a support request anyway; any further inquiries related to this should probably be directed to the jenkinsci-users mailing list. It's possible this happens because Jenkins runs as SYSTEM after installed as service on Windows by default (something the report does not mention).

            walid walid BR
            walid walid BR
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: