Jenkins issue: FATAL: command execution failed

I think that I just figured out what is provoking this issue.
If the JDK on the agent is updated via the unattended updates, but the Jenkins agent java process is not restarted, the spawn error occurs.
Disconnecting the agent and re-launching allows the script console snippet to run.

1 Like