[ https://issues.jenkins-ci.org/browse/JENKINS-9084?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=159195#comment-159195 ]
manvendra tomar commented on JENKINS-9084: ------------------------------------------ Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.5:deploy-file (default-cli) on project standalone-pom: Failed to deploy artifacts: Could not transfer artifact abc.zip. Return code is: 401 I am getting this issue on Jenkins 1.450. while deploying artifact using a bat file. which is running from a pom.xml target using Jenkins. This works fine when I launch bat file, while fails when it launch through Jenkins. Please have a look on the issue. > Regression in jenkins .401 maven plugin - deploy to repository post-task > ------------------------------------------------------------------------ > > Key: JENKINS-9084 > URL: https://issues.jenkins-ci.org/browse/JENKINS-9084 > Project: Jenkins > Issue Type: Bug > Components: maven2 > Affects Versions: current > Environment: jenkins .401 > Reporter: David Karlsen > Assignee: olamy > > After upgrading to latest jenkins .401 the post-build task deploy to maven > repository has resurfaced: > Failed to transfer file: > http://xxxx/nexus/content/repositories/snapshots/some/artifact-1.2-20110317.153602-23.pom. > Return code is: 401 > This worked before upgrading. > I put in the url to deploy to + the server id in settings.xml containing the > credentials -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira