Empty variable "reason" makes error message useless

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Minor
    • Component/s: ssh-agent-plugin
    • None
    • Environment:
      Jenkins Controller: Win Server 2022, Jenkins 2.462.1
      Jenkins Agent: Win Server 2022
      Plugin version: 376.v8933585c69d3

      When the plugin throws an error when trying to execute the ssh-agent in a pipeline, it can be the case that there is no reason in the error log. 

      hudson.AbortException: Failed to run ssh-agent: 
      	at PluginClassLoader for ssh-agent//com.cloudbees.jenkins.plugins.sshagent.exec.ExecRemoteAgent.<init>(ExecRemoteAgent.java:55) 

      Without any reason, it is nearly impossible to debug this. Which brings me to a second point: How am I supposed to debug this now, with no useful error output?

            Assignee:
            Unassigned
            Reporter:
            Julian Krieger
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: