archiva-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mothkuri, Prashanth(AWF)" <pmothk...@ebay.com>
Subject Deploy artifact error jenkins
Date Mon, 09 Jun 2014 21:44:38 GMT
Hi there,

I am trying to use archiva as deployment as well as maven repository.

But, I have configured repository url in post-build actions of Jenkins job configuration.

But, I am getting the below deployment error, whenever Jenkins job try to build and deploy.

Please provide resolution ASAP as we in process of evaluation of archiva technology.

Thanks,
Prashanth


Maven RedeployPublisher use remote  maven settings from : C:\Users\pmothkuri\Downloads\apache-maven-3.2.1-bin\apache-maven-3.2.1/conf/settings.xml

[INFO] Deployment in http://localhost:8090/archiva/repository/snapshots (id=,uniqueVersion=true)

Deploying the main artifact jenkins-8224858212514088389intranetsearch-0.0.1-SNAPSHOT.war

Downloading: http://localhost:8090/archiva/repository/snapshots/com/ebay/ef/intranetsearch/intranetsearch/0.0.1-SNAPSHOT/maven-metadata.xml

Uploading: http://localhost:8090/archiva/repository/snapshots/com/ebay/ef/intranetsearch/intranetsearch/0.0.1-SNAPSHOT/intranetsearch-0.0.1-20140609.213602-1.war

Uploading: http://localhost:8090/archiva/repository/snapshots/com/ebay/ef/intranetsearch/intranetsearch/0.0.1-SNAPSHOT/intranetsearch-0.0.1-20140609.213602-1.pom

ERROR: Failed to deploy artifacts: Could not transfer artifact com.ebay.ef.intranetsearch:intranetsearch:war:0.0.1-20140609.213602-1
from/to  (http://localhost:8090/archiva/repository/snapshots): Failed to transfer file: http://localhost:8090/archiva/repository/snapshots/com/ebay/ef/intranetsearch/intranetsearch/0.0.1-SNAPSHOT/intranetsearch-0.0.1-20140609.213602-1.war.
Return code is: 405, ReasonPhrase: HTTP method PUT is not supported by this URL.

org.apache.maven.artifact.deployer.ArtifactDeploymentException<http://stacktrace.jenkins-ci.org/search?query=org.apache.maven.artifact.deployer.ArtifactDeploymentException>:
Failed to deploy artifacts: Could not transfer artifact com.ebay.ef.intranetsearch:intranetsearch:war:0.0.1-20140609.213602-1
from/to  (http://localhost:8090/archiva/repository/snapshots): Failed to transfer file: http://localhost:8090/archiva/repository/snapshots/com/ebay/ef/intranetsearch/intranetsearch/0.0.1-SNAPSHOT/intranetsearch-0.0.1-20140609.213602-1.war.
Return code is: 405, ReasonPhrase: HTTP method PUT is not supported by this URL.


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message