Hello, jenkins version: 2.1 artifactory: 4.4.0 repository connector plugin: 1.1.3
I created a freestyle job in Jenkins and would like to download some artifacts from Nexus. We have both Nexus and Artifactory as repositories, both of them configured in Jenkins. Some maven builds put the artifacts (rpms) into Nexus. Artifactory is used during build time to store jars by some ANT builds/jobs. So I want to download some rpms from Nexus and I get an error message. failed collecting dependency info for [Artifact com.xxx] org.sonatype.aether.collection.DependencyCollectionException: Failed to collect dependencies for com.xxx . . . Caused by: org.sonatype.aether.resolution.ArtifactResolutionException: Could not transfer artifact com.xxx from/to artifactory ... Caused by: org.apache.maven.wagon.authorization.AuthorizationException: Access denied to: https://xxxx.pom <https://portal.inew-cs.com/artifactory/libs-releases/com/inewcs/mvno/inewcs-mvno-xdr-ticket-api/6.1.0/inewcs-mvno-xdr-ticket-api-6.1.0.pom> It means that the plugin checks Artifactory for the dependency's pom file and though it's not there (because we use Nexus for maven builds, not Artifactory), the request fails with 403 which means access denied (instead of getting 404 and jumping to Nexus to get the pom file). Authentication is set in the Artifact Resolver plugin's settings section under Jenkins / manage jenkins / configure system path. Any hints? The best thing is that this worked a couple of days ago but we had to restart Jenkins and it stopped working...maybe some cache-ing issue? Thanks! -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/4784a58c-3d14-45a8-bfb0-7a27ba97c256%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
