Issue pushing Artifact to Nexus from Jenkins using Nexus Artifact Uploader

7 views
Skip to first unread message

gotvi...@gmail.com

unread,
Sep 20, 2018, 7:31:43 PM9/20/18
to Jenkins Users

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 VersionNexus3
ProtocalHTTP
Nexus URL$NEXUS-URL
CredentialsCre********
GroupIdgroup-01
Version0.0.1
Repositorytestrepo
ArtifactIdabcd-0.3
Typetgz
Classifier 
Fileabcd-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 npmrepository (for which the Jenkins job is unable to push artifact).

 

Please suggest.

Reply all
Reply to author
Forward
0 new messages