in Education by
I have a Jenkins project that does a gradle build and uploads build artifacts to a Nexus maven hosted repository using the Jenkins upload artifact to nexus plugin. This was working fine when I was using Nexus 2.13 - but after upgrading to Nexus 3, the upload to Nexus is no longer working. I have made sure that I have configured Nexus 3 repository just like my Nexus 2.13 repository. When I build my Jenkins project I get a response GroupId: com.company ArtifactId: hello-world-util Version: 1.0.0 File: hello-world-util-1.0.0.jar Repository:companyDevops Uploading artifact hello-world-util-1.0.0.jar started.... Reason Phrase: Method Not Allowed <!DOCTYPE html> 405 - Nexus Repository Manager <!--[if lt IE 9]> (new Image).src="http://192.168.99.100:18081/favicon.ico?3.0.1-01" <![endif]-->
image Error 405 Method Not Allowed
HTTP method POST is not supported by this URL
My Jenkins nexus upload is configured like (and this has not changed between Nexus 2.13 and 3) Upload artifact to nexus Nexus Details Protocol HTTP Nexus URL 192.168.99.100:18081 User admin Password admin123 Credentials com.company GroupId com.company ArtifactId hello-world-ui Version 1.0.0 Packaging jar Repository companyDevops File build/libs/hello-world-util-1.0.0.jar My Nexus 3 maven hosted repository is configured like Name companyDevops Format maven2 Type hosted URL http://192.168.99.100:18081/repository/companyDevops/ Online Maven 2 Version policy Release Layout policy Strict Storage Blog store default Strict content type validation X Hosted Deployment policy Allow redeploy Not sure why I’m getting this error -I’ve validated that the Nexus admin user has permission to upload artifacts -I’ve validated that allow redeploy is enabled What might be happening -possibly the Jenkins ‘upload artifact to nexus’ plugin is not compatible with Nexus 3? Has anyone got this to work with Nexus 3? Any suggestions? Thanks! JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
Nexus Artifact Uploader plugin now supports Nexus-2.x & Nexus-3.x. Support for Nexus-3.x with plugin version 2.6 https://wiki.jenkins-ci.org/display/JENKINS/Nexus+Artifact+Uploader

Related questions

0 votes
    I am successfully able to connect to a remote machine using SSH but when I am launching the agent from Jenkins ... overcome this issue? Select the correct answer from above options...
asked Feb 8, 2022 in Education by JackTerrance
0 votes
    I am successfully able to connect to a remote machine using SSH but when I am launching the agent from Jenkins ... overcome this issue? Select the correct answer from above options...
asked Feb 5, 2022 in Education by JackTerrance
0 votes
    I am trying to do a poc of Jenkins pipeline as code. I am using the Github organization folder plugin to ... descriptions for the jobs Select the correct answer from above options...
asked Jan 30, 2022 in Education by JackTerrance
0 votes
    In deploy scenario I need to create and run Jenkins task on the list of hosts, i.e. create something like a ... anyone help with it? Select the correct answer from above options...
asked Jan 30, 2022 in Education by JackTerrance
0 votes
    In Jenkins, is there a way to restrict the user to view only certain jobs? Only through "Project-based ... allows job restriction? Select the correct answer from above options...
asked Jan 25, 2022 in Education by JackTerrance
0 votes
    I'm trying to configure my Jenkinsfile to run in one which already have access to my git repository via ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 8, 2022 in Education by JackTerrance
0 votes
    Can someone help me to differentiate between DevOps and Docker? Select the correct answer from above options...
asked Jan 25, 2022 in Education by JackTerrance
0 votes
    I have created a plugin and used a reference to another project (DLL) I have created. The problem ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 27, 2022 in Education by JackTerrance
0 votes
    I have created a plugin and used a reference to another project (DLL) I have created. The problem ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 26, 2022 in Education by JackTerrance
0 votes
    How to install a Custom Jenkins Plugin or a Version of Plugin Not available in Jenkins Update Center?...
asked Jul 17, 2021 in Technology by JackTerrance
0 votes
    When I run pip3 install -r requirements.txt on the project I get this error message: pip._vendor.pkg_resources. ... on my machine. Select the correct answer from above options...
asked Jan 19, 2022 in Education by JackTerrance
0 votes
    I am looking to measure power consumed by an application running on NEXUS S. I could read the current ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 12, 2022 in Education by JackTerrance
0 votes
    I have a web application that uses the current version of JQuery that needs to get some JSON objects back ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 11, 2022 in Education by JackTerrance
0 votes
    I am at my wit's end! Trying to auto upgrade to Wordpress 3.3 and its not working. I have tried ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 10, 2022 in Education by JackTerrance
0 votes
    I would like to document in the shaded jar what maven artifacts actually end up in that shaded jar. ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jun 5, 2022 in Education by JackTerrance
...