java.lang.RuntimeException

Error occurred while resolving published or build dependencies: Failed to retrieve build artifacts report: HTTP/1.1 301 Moved Permanently


Solutions on the web53515

Solution icon of jfrog
via JFrog JIRA by Martin Melka, 1 year ago
Error occurred while resolving published or build dependencies: Failed to retrieve build artifacts report: HTTP/1.1 301 Moved Permanently

Solution icon of jfrog
via JFrog JIRA by Martin Melka, 11 months ago
Error occurred while resolving published or build dependencies: Failed to retrieve build artifacts report: HTTP/1.1 301 Moved Permanently

Solution icon of jfrog
via JFrog JIRA by Ophélie Salm, 11 months ago
Error occurred while publishing artifact to Artifactory: ****\pom.xml. Skipping deployment of remaining artifacts (if any) and build info.

Solution icon of jfrog
via JFrog JIRA by Oph??lie Salm, 1 year ago
Error occurred while publishing artifact to Artifactory: ****\pom.xml. Skipping deployment of remaining artifacts (if any) and build info.

Solution icon of googlegroups
via Google Groups by jordipr...@gmail.com (JIRA), 10 months ago
Error occurred while publishing artifact to Artifactory: xxxxxxx.jar.<br> Skipping deployment of remaining artifacts (if any) and build info.<br>

Solution icon of web
Error occurred while publishing artifact to Artifactory: < > Skipping deployment of remaining artifacts (if any) and build info.

Solution icon of jfrog
via JFrog JIRA by Rajesh Pilla, 1 year ago
Error occurred while publishing artifact to Artifactory: <workspace-path>/pom.xml. Skipping deployment of remaining artifacts (if any) and build info.

Solution icon of web
Error occurred while publishing artifact to Artifactory: <workspace-path>/pom.xml. Skipping deployment of remaining artifacts (if any) and build info.

Solution icon of web
Error occurred while publishing artifact to Artifactory: <workspace-path>/pom.xml. Skipping deployment of remaining artifacts (if any) and build info.

Solution icon of jfrog
via JFrog JIRA by Rajesh Pilla, 11 months ago
Error occurred while publishing artifact to Artifactory: <workspace-path>/pom.xml. Skipping deployment of remaining artifacts (if any) and build info.

Stack trace

  • java.lang.RuntimeException: Error occurred while resolving published or build dependencies: Failed to retrieve build artifacts report: HTTP/1.1 301 Moved Permanently at org.jfrog.teamcity.agent.listener.AgentListenerBuildInfoHelper.retrievePublishedAndBuildDependencies(AgentListenerBuildInfoHelper.java:107) at org.jfrog.teamcity.agent.listener.AgentListenerBuildInfoHelper.beforeRunnerStart(AgentListenerBuildInfoHelper.java:84) at org.jfrog.teamcity.agent.ArtifactoryAgentListener.beforeRunnerStart(ArtifactoryAgentListener.java:80) at sun.reflect.GeneratedMethodAccessor17.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at jetbrains.buildServer.util.EventDispatcher.dispatch(EventDispatcher.java:120) at jetbrains.buildServer.util.EventDispatcher$2.invoke(EventDispatcher.java:67) at com.sun.proxy.$Proxy6.beforeRunnerStart(Unknown Source) at jetbrains.buildServer.agent.impl.buildStages.runnerStages.start.FireBeforeRunnerStartedStage.fireEvent(FireBeforeRunnerStartedStage.java:27) at jetbrains.buildServer.agent.impl.buildStages.runnerStages.start.FireEventRunnerStageBase.doBuildStage(FireEventRunnerStageBase.java:29) at jetbrains.buildServer.agent.impl.buildStages.RunnerStagesExecutor$1.callStage(RunnerStagesExecutor.java:25) at jetbrains.buildServer.agent.impl.buildStages.RunnerStagesExecutor$1.callStage(RunnerStagesExecutor.java:18) at jetbrains.buildServer.agent.impl.buildStages.StagesExecutor.callRunStage(StagesExecutor.java:78) at jetbrains.buildServer.agent.impl.buildStages.StagesExecutor.doStages(StagesExecutor.java:37) at jetbrains.buildServer.agent.impl.buildStages.RunnerStagesExecutor.doStages(RunnerStagesExecutor.java:18) at jetbrains.buildServer.agent.impl.buildStages.startStages.steps.RunnerContextExecutor.callRunnerStages(RunnerContextExecutor.java:43) at jetbrains.buildServer.agent.impl.buildStages.startStages.steps.StepExecutor.processNextStep(StepExecutor.java:25) at jetbrains.buildServer.agent.impl.buildStages.startStages.steps.ForEachBuildRunnerStage.executeRunnerStep(ForEachBuildRunnerStage.java:138) at jetbrains.buildServer.agent.impl.buildStages.startStages.steps.ForEachBuildRunnerStage.runStep(ForEachBuildRunnerStage.java:123) at jetbrains.buildServer.agent.impl.buildStages.startStages.steps.ForEachBuildRunnerStage.executeBuildRunners(ForEachBuildRunnerStage.java:83) at jetbrains.buildServer.agent.impl.buildStages.startStages.steps.ForEachBuildRunnerStage.doBuildStage(ForEachBuildRunnerStage.java:44) at jetbrains.buildServer.agent.impl.buildStages.BuildStagesExecutor$1.callStage(BuildStagesExecutor.java:31) at jetbrains.buildServer.agent.impl.buildStages.BuildStagesExecutor$1.callStage(BuildStagesExecutor.java:24) at jetbrains.buildServer.agent.impl.buildStages.StagesExecutor.callRunStage(StagesExecutor.java:78) at jetbrains.buildServer.agent.impl.buildStages.StagesExecutor.doStages(StagesExecutor.java:37) at jetbrains.buildServer.agent.impl.buildStages.BuildStagesExecutor.doStages(BuildStagesExecutor.java:24) at jetbrains.buildServer.agent.impl.BuildRunActionImpl.doStages(BuildRunActionImpl.java:70) at jetbrains.buildServer.agent.impl.BuildRunActionImpl.runBuild(BuildRunActionImpl.java:50) at jetbrains.buildServer.agent.impl.BuildAgentImpl.doActualBuild(BuildAgentImpl.java:284) at jetbrains.buildServer.agent.impl.BuildAgentImpl.access$100(BuildAgentImpl.java:52) at jetbrains.buildServer.agent.impl.BuildAgentImpl$1.run(BuildAgentImpl.java:248) at java.lang.Thread.run(Thread.java:745) Caused by: java.io.IOException: Failed to retrieve build artifacts report: HTTP/1.1 301 Moved Permanently at org.jfrog.build.extractor.clientConfiguration.client.ArtifactoryDependenciesClient.readResponse(ArtifactoryDependenciesClient.java:165) at org.jfrog.build.extractor.clientConfiguration.client.ArtifactoryDependenciesClient.retrievePatternArtifacts(ArtifactoryDependenciesClient.java:98) at org.jfrog.build.extractor.clientConfiguration.util.BuildDependenciesHelper.retrieveBuildDependencies(BuildDependenciesHelper.java:73) at org.jfrog.teamcity.agent.DependenciesResolver.retrieveBuildDependencies(DependenciesResolver.java:58) at org.jfrog.teamcity.agent.listener.AgentListenerBuildInfoHelper.retrievePublishedAndBuildDependencies(AgentListenerBuildInfoHelper.java:100) ... 32 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.