-
Bug
-
Resolution: Incomplete
-
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
Description |
Original:
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") . 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 ) |
New:
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 ) |
Component/s | New: core [ 15593 ] | |
Component/s | Original: parameters [ 15594 ] |
Resolution | New: Incomplete [ 4 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Workflow | Original: JNJira [ 150168 ] | New: JNJira + In-Review [ 193445 ] |
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"