Jenkins upload artifact to nexus plugin not working with Nexus 3 -


i have jenkins project gradle build , uploads build artifacts nexus maven hosted repository using jenkins upload artifact nexus plugin. working fine when using nexus 2.13 - after upgrading nexus 3, upload nexus no longer working. have made sure have configured nexus 3 repository nexus 2.13 repository. when build jenkins project 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> <html> <head>   <title>405 - nexus repository manager</title>   <meta http-equiv="content-type" content="text/html; charset=utf-8"/>    <!--[if lt ie 9]>   <script>(new image).src="http://192.168.99.100:18081/favicon.ico?3.0.1-01"</script>   <![endif]-->   <link rel="icon" type="image/png" href="http://192.168.99.100:18081/favicon-32x32.png?3.0.1-01" sizes="32x32">   <link rel="mask-icon" href="http://192.168.99.100:18081/safari-pinned-tab.svg?3.0.1-01" color="#5bbad5">   <link rel="icon" type="image/png" href="http://192.168.99.100:18081/favicon-16x16.png?3.0.1-01" sizes="16x16">   <link rel="shortcut icon" href="http://192.168.99.100:18081/favicon.ico?3.0.1-01">   <meta name="msapplication-tileimage" content="http://192.168.99.100:18081/mstile-144x144.png?3.0.1-01">   <meta name="msapplication-tilecolor" content="#00a300">    <link rel="stylesheet" type="text/css" href="http://192.168.99.100:18081/static/css/nexus-content.css?3.0.1-01"/> </head> <body> <div class="nexus-header">   <a href="http://192.168.99.100:18081">     <div class="product-logo">       <img src="http://192.168.99.100:18081/static/images/nexus.png?3.0.1-01"/>     </div>     <div class="product-id">       <div class="product-id__line-1">         <span class="product-name">nexus repository manager</span>       </div>       <div class="product-id__line-2">         <span class="product-spec">oss 3.0.1-01</span>       </div>     </div>   </a> </div>  <div class="nexus-body">   <div class="content-header">     <img src="http://192.168.99.100:18081/static/rapture/resources/icons/x32/exclamation.png?3.0.1-01"/>     <span class="title">error 405</span>     <span class="description">method not allowed</span>   </div>   <div class="content-body">     <div class="content-section">       http method post not supported url     </div>       </div> </div> </body> </html> 

my jenkins nexus upload configured (and has not changed between nexus 2.13 , 3)

upload artifact 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 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 error -i’ve validated nexus admin user has permission upload artifacts -i’ve validated allow redeploy enabled

what might happening -possibly jenkins ‘upload artifact nexus’ plugin not compatible nexus 3?

has got work nexus 3? suggestions?

thanks!

this plugin doesn't support nexus-3.x, working provide capability uploading artifacts nexus-3.x


Comments

Popular posts from this blog

amazon web services - S3 Pre-signed POST validate file type? -

c# - Check Keyboard Input Winforms -