Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-47641

FAILURE during Repository Connector build step

XMLWordPrintable

      Trying to download some artifacts from our local nexus (2.14.5) using the Repository Connector 1.1.3 plugin Job will always fail with following stack trace.

      In attachment you can see the global Atifact Resolver configuration and the Job Build Step Artifact Resolver configuration. Maybe something is wrong but I cannot understand what.

      In the stack trace I see:

      Caused by: org.sonatype.aether.transfer.NoRepositoryConnectorException: No connector available to access repository snapshots (https://nexus.bcom.syncromed.it/nexus/content/repositories/snapshots) of type hosted using the available factories WagonRepositoryConnectorFactory
      

      is there some missing configuration ?

      Oct 25, 2017 5:38:47 PM org.jvnet.hudson.plugins.repositoryconnector.ArtifactResolver logError
      SEVERE: failed collecting dependency info for [Artifact com.syncromed:Theca-services:war::2.4.0-SNAPSHOT]
      org.sonatype.aether.collection.DependencyCollectionException: Failed to collect dependencies for com.syncromed:Theca-services:war:2.4.0-SNAPSHOT (provided)
      at org.sonatype.aether.impl.internal.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:197)
      at org.sonatype.aether.impl.internal.DefaultRepositorySystem.collectDependencies(DefaultRepositorySystem.java:308)
      at org.jvnet.hudson.plugins.repositoryconnector.aether.Aether.resolve(Aether.java:204)
      at org.jvnet.hudson.plugins.repositoryconnector.ArtifactResolver.download(ArtifactResolver.java:130)
      at org.jvnet.hudson.plugins.repositoryconnector.ArtifactResolver.perform(ArtifactResolver.java:101)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:736)
      at hudson.model.Build$BuildExecution.build(Build.java:206)
      at hudson.model.Build$BuildExecution.doRun(Build.java:163)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:496)
      at hudson.model.Run.execute(Run.java:1724)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:97)
      at hudson.model.Executor.run(Executor.java:419)
      Caused by: org.sonatype.aether.resolution.ArtifactDescriptorException: Failed to read artifact descriptor for com.syncromed:Theca-services:war:2.4.0-SNAPSHOT
      at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:282)
      at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.readArtifactDescriptor(DefaultArtifactDescriptorReader.java:172)
      at org.sonatype.aether.impl.internal.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:191)
      ... 13 more
      Caused by: org.sonatype.aether.resolution.ArtifactResolutionException: Could not transfer artifact com.syncromed:Theca-services:pom:2.4.0-SNAPSHOT from/to snapshots (https://nexus.bcom.syncromed.it/nexus/content/repositories/snapshots): No connector available to access repository snapshots (https://nexus.bcom.syncromed.it/nexus/content/repositories/snapshots) of type hosted using the available factories WagonRepositoryConnectorFactory
      at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:537)
      at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:216)
      at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:193)
      at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:267)
      ... 15 more
      Caused by: org.sonatype.aether.transfer.ArtifactTransferException: Could not transfer artifact com.syncromed:Theca-services:pom:2.4.0-SNAPSHOT from/to snapshots (https://nexus.bcom.syncromed.it/nexus/content/repositories/snapshots): No connector available to access repository snapshots (https://nexus.bcom.syncromed.it/nexus/content/repositories/snapshots) of type hosted using the available factories WagonRepositoryConnectorFactory
      at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:467)
      ... 18 more
      Caused by: org.sonatype.aether.transfer.NoRepositoryConnectorException: No connector available to access repository snapshots (https://nexus.bcom.syncromed.it/nexus/content/repositories/snapshots) of type hosted using the available factories WagonRepositoryConnectorFactory
      at org.sonatype.aether.impl.internal.DefaultRemoteRepositoryManager.getRepositoryConnector(DefaultRemoteRepositoryManager.java:383)
      at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:452)
      ... 18 more

      OS: Ubuntu 14.04.5 LTS

            jgangemi Jae Gangemi
            marcomontel Marco Montel
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: