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

Empty variable "reason" makes error message useless

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • ssh-agent-plugin
    • None
    • 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?

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

              Created:
              Updated: