I'm trying to publish an Artifact from Jenkins to Sonatype Nexus Repository Manager OSS 3.12.0-01 using the Nexus Artifact Uploader plugin. But, the upload fails. Below are the details I have given in the plugin in Jenkins:
KeyValue Nexus Version Nexus3 Protocal HTTP Nexus URL $NEXUS-URL Credentials Cre******** GroupId group-01 Version 0.0.1 Repository testrepo ArtifactId abcd-0.3 Type tgz Classifier File abcd-0.3.tgz When I try to build, I get the following output Uploading: $REPOSITORY_URL/group-01/abcd-0.3/0.0.1/abcd-0.3-0.0.1.tgz 10 % completed (193 kB / 1.9 MB). 20 % completed (385 kB / 1.9 MB). 30 % completed (578 kB / 1.9 MB). 40 % completed (770 kB / 1.9 MB). 50 % completed (958 kB / 1.9 MB). Failed to deploy artifacts: Could not transfer artifact group-01:abcd-0.3:tgz:0.0.1 from/to testrepo ($REPOSITORY_URL): Broken pipe (Write failed) ERROR: Uploading file abcd-0.3.tgz failed. [Office365connector] No webhooks to notify Finished: FAILURE The *repository type* of the testrepo is *hosted* and the *repository format* is *npm*. But, with the same configuration, I'm able to push the file to another repository for which the *repository type* is *hosted* and the *repository format* is *raw*. Also, I'm manually able to upload this file through Nexus UI into the *npm*repository (for which the Jenkins job is unable to push artifact). Please suggest. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/3415644e-ec2c-43c4-932a-73ecc4a81e3e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.