...
My Jenkins agent cannot access ecu.test after restart of Jenkins controller:
Code Block | ||||
---|---|---|---|---|
| ||||
java.lang.UnsatisfiedLinkError: Native Library jacob-1.18-x64/86.dll already loaded in another classloader |
Solution
This is a known limitation when running the ECU-TEST ecu.test agent in a user session while the master restarts and reconnects to the agent. Ensure that the agent agent is always restarted when the master restarts.
This can be achieved by creating an appropriate Windows task named RESTART_JENKINS_AGENT. Starting with release 2.6 the default Windows task name can be overridden by system propertyecutest.taskName on each agent individually.
An example configuration export is attached here and can be easily imported and modified in the Windows Task Scheduler.