You are viewing a plain text version of this content. The canonical link for it is here.
Posted to infrastructure-issues@apache.org by "Daniel Takamori (JIRA)" <ji...@apache.org> on 2016/04/28 01:32:12 UTC

[jira] [Resolved] (INFRA-11711) Problem with deploying snapshot artifacts from Jenkins build

     [ https://issues.apache.org/jira/browse/INFRA-11711?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Takamori resolved INFRA-11711.
-------------------------------------
    Resolution: Fixed
      Assignee: Daniel Takamori

> Problem with deploying snapshot artifacts from Jenkins build
> ------------------------------------------------------------
>
>                 Key: INFRA-11711
>                 URL: https://issues.apache.org/jira/browse/INFRA-11711
>             Project: Infrastructure
>          Issue Type: Bug
>          Components: Jenkins
>            Reporter: Krzysztof Sobkowiak
>            Assignee: Daniel Takamori
>
> Our build https://builds.apache.org/job/ServiceMix-master has problems with deploying snapshots to snapshot repository using the "Deploy artifacts to Maven repository" Jenkins plugin
> Maven RedeployPublisher use remote jenkins-test-45d maven settings from : /home/jenkins/jenkins-slave/tools/hudson.tasks.Maven_MavenInstallation/maven-3.3.3/conf/settings.xml
> [ERROR] uniqueVersion == false is not anymore supported in maven 3
> [INFO] Deployment in https://repository.apache.org/content/repositories/snapshots (id=apache.snapshots.https,uniqueVersion=false)
> Deploying the main artifact activemq-7.0.0-SNAPSHOT.pom
> Downloading: https://repository.apache.org/content/repositories/snapshots/org/apache/servicemix/activemq/7.0.0-SNAPSHOT/maven-metadata.xml
> Downloaded: https://repository.apache.org/content/repositories/snapshots/org/apache/servicemix/activemq/7.0.0-SNAPSHOT/maven-metadata.xml (608 B at 28.3 KB/sec)
> Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/servicemix/activemq/7.0.0-SNAPSHOT/activemq-7.0.0-20160420.050305-40.pom
> ERROR: Failed to deploy artifacts: Could not transfer artifact org.apache.servicemix:activemq:pom:7.0.0-20160420.050305-40 from/to apache.snapshots.https (https://repository.apache.org/content/repositories/snapshots): Failed to transfer file: https://repository.apache.org/content/repositories/snapshots/org/apache/servicemix/activemq/7.0.0-SNAPSHOT/activemq-7.0.0-20160420.050305-40.pom. Return code is: 401, ReasonPhrase: Unauthorized.
> org.apache.maven.artifact.deployer.ArtifactDeploymentException: Failed to deploy artifacts: Could not transfer artifact org.apache.servicemix:activemq:pom:7.0.0-20160420.050305-40 from/to apache.snapshots.https (https://repository.apache.org/content/repositories/snapshots): Failed to transfer file: https://repository.apache.org/content/repositories/snapshots/org/apache/servicemix/activemq/7.0.0-SNAPSHOT/activemq-7.0.0-20160420.050305-40.pom. Return code is: 401, ReasonPhrase: Unauthorized.
> 	at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:143)
> 	at hudson.maven.reporters.MavenArtifactRecord.deploy(MavenArtifactRecord.java:193)
> 	at hudson.maven.RedeployPublisher.perform(RedeployPublisher.java:176)
> 	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
> 	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782)
> 	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:723)
> 	at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:1047)
> 	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:668)
> 	at hudson.model.Run.execute(Run.java:1763)
> 	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531)
> 	at hudson.model.ResourceController.execute(ResourceController.java:98)
> 	at hudson.model.Executor.run(Executor.java:410)
> See https://builds.apache.org/job/ServiceMix-master/39/console for more info.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)