Hi,
See my reply in the dupe
thread<https://groups.google.com/forum/?fromgroups#!topic/jenkinsci-users/Hwk8VJ1piqw>you've
opened on the Jenkins-CI user list.
On Thu, Jul 5, 2012 at 10:15 PM, josebarbosa <[email protected]> wrote:
> Hello,
>
> I´m using Artifactory 2.4.0 and Jenkins 1.438 and I have maven project with
> several modules. Need to deploy all modules(jars and one resulting war)
> into remote Artifactory server by Jenkins.
>
> My user admin for artifactory was with default password (password) and all
> builds that I tried to execute on jenkins works fine. So when I resolved
> to change de Artifactory admin password and update my settings with the new
> credentials of admin, I had the following error on jenkins build log:
>
> Failed to execute goal
> org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on
> project pilotoExemplo: Failed to deploy artifacts:
> Could not transfer artifact
> br.com.pilotoExemplo:pilotoExemplo:pom:2.1.0.11-20120705.160113-1 from/to
> snapshot
> ({ip_server}/artifactory/libs-snapshot-local): Failed to transfer file:
>
> {ip_server}/artifactory/libs-snapshot-local/br/com/pilotoExemplo/pilotoExemplo/2.1.0.11-SNAPSHOT/pilotoExemplo-2.1.0.11-20120705.160113-1.pom.
> Return code is: 401
>
> Anyone already saw this problem before? I don´t found anything like this
> search on the google.
>
> Here is my settings.xml:
>
>
> <mirrors>
> <mirror>
> <mirrorOf>*</mirrorOf>
> <name>repositorio</name>
> <url>{ip_server}/artifactory/repo</url>
> <id>repositorio</id>
> </mirror>
> </mirrors>
>
> <profiles>
> <profile>
> <repositories>
> <repository>
> <snapshots>
> <enabled>true</enabled>
> </snapshots>
> <id>central</id>
> <name>libs-release</name>
> <url>{ip_server}/artifactory/libs-release/</url>
> </repository>
> <repository>
> <snapshots />
> <id>snapshots</id>
> <name>libs-snapshot</name>
> <url>{ip_server}/artifactory/libs-snapshot/</url>
> </repository>
> </repositories>
> <pluginRepositories>
> <pluginRepository>
> <snapshots>
> <enabled>false</enabled>
> </snapshots>
> <id>central</id>
> <name>plugins-release</name>
> <url>{ip_server}/artifactory/plugins-release</url>
> </pluginRepository>
> </pluginRepositories>
> <id>artifactory</id>
> <distributionManagement>
> <repository>
> <id>release</id>
> <url>{ip_server}/artifactory/libs-release-local/</url>
> </repository>
> <snapshotRepository>
> <id>snapshot</id>
> <url>{ip_server}/artifactory/libs-snapshot-local/</url>
> </snapshotRepository>
> </distributionManagement>
> </profile>
> </profiles>
>
> <activeProfiles>
> <activeProfile>artifactory</activeProfile>
> </activeProfiles>
>
> <servers>
> <server>
> <id>snapshot</id>
> <username>admin</username>
> <password>newPassword</password>
> </server>
>
> <server>
> <id>release</id>
> <username>admin</username>
> <password>newPassword</password>
> </server>
>
> <server>
> <id>repositorio</id>
> <username>admin</username>
> <password>newPassword</password>
> </server>
>
> </servers>
>
> --
> View this message in context:
> http://forums.jfrog.org/The-authorization-of-the-Artifactory-in-Jenkins-does-not-work-tp7578066.html
> Sent from the Artifactory - Users mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Artifactory-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users