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

Nexus error reports are swallowed

XMLWordPrintable

      We have the following error from our build:

      Failed to deploy artifacts: Could not transfer artifact com.example:foo:exe:1.0.0-20170510.075234-1 from/to snapshots (http://nexus.example.net/nexus/content/repositories/snapshots): Connection reset by peer: socket write error
      {{[Pipeline] }}}

      Helpful, eh?

      So we ran tcpdump on the Nexus box and finally found a response from Nexus indicating a fault. It's a HTML-formatted response which just gets swallowed (something within our Nexus went wrong).

      While we now have a handle on why things do not work for us, it is a major pain to go down to the tcpdump level. Is this plugin missing an Accept header to make Nexus return computer-readable responses perhaps that your plugin can then forward to the build log?

       

            pskumar448 Suresh Kumar
            jmkgreen James Green
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: