Hi there!
I have been searching the forums for this issue but no luck.
We are using Teamcity 8.1.2 (build 29993) with the Artifactory plugin.
We set up the Artifactory repository URL in the plugin configuration page
with working user and password (test button said OK).
We set up the "Deploy Artifacts To Artifactory" section in the maven step
with the previously set artifactory repo. Options set up are:
Target repository: libs-test-release-local
Target snapshot repository: libs-test-snapshot-local
Override default deployer credentials: UNCHECKED
Deploy Maven artifacts: CHECKED
Deployment include patterns: [void]
Deployment exclude patterns: **/test/**
Everything works fine until Artifactory deployment starts. Then I get the
following error:
java.lang.IllegalArgumentException: Cannot read checksums of a folder:
D:\TeamCity\buildAgent\work\e7350e48d81a9923\TestAPIEs\target\classes
at
org.jfrog.build.api.util.FileChecksumCalculator.calculateChecksums(FileChecksumCalculator.java:61)
at
org.jfrog.teamcity.agent.BaseBuildInfoExtractor.getArtifactChecksumMap(BaseBuildInfoExtractor.java:265)
at
org.jfrog.teamcity.agent.MavenBuildInfoExtractor.addChecksumInfo(MavenBuildInfoExtractor.java:251)
at
org.jfrog.teamcity.agent.MavenBuildInfoExtractor.addModuleArtifact(MavenBuildInfoExtractor.java:212)
at
org.jfrog.teamcity.agent.MavenBuildInfoExtractor.addMainArtifact(MavenBuildInfoExtractor.java:267)
at
org.jfrog.teamcity.agent.MavenBuildInfoExtractor.addModules(MavenBuildInfoExtractor.java:133)
at
org.jfrog.teamcity.agent.MavenBuildInfoExtractor.appendRunnerSpecificDetails(MavenBuildInfoExtractor.java:84)
at
org.jfrog.teamcity.agent.MavenBuildInfoExtractor.appendRunnerSpecificDetails(MavenBuildInfoExtractor.java:56)
at
org.jfrog.teamcity.agent.BaseBuildInfoExtractor.extract(BaseBuildInfoExtractor.java:83)
at
org.jfrog.teamcity.agent.BaseBuildInfoExtractor.extract(BaseBuildInfoExtractor.java:54)
at
org.jfrog.teamcity.agent.listener.AgentListenerBuildInfoHelper.extractBuildInfo(AgentListenerBuildInfoHelper.java:181)
at
org.jfrog.teamcity.agent.listener.AgentListenerBuildInfoHelper.runnerFinished(AgentListenerBuildInfoHelper.java:119)
at
org.jfrog.teamcity.agent.ArtifactoryAgentListener.runnerFinished(ArtifactoryAgentListener.java:104)
at sun.reflect.GeneratedMethodAccessor29.invoke(Unknown Source) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606) at
jetbrains.buildServer.util.EventDispatcher.dispatch(EventDispatcher.java:117)
at
jetbrains.buildServer.util.EventDispatcher$2.invoke(EventDispatcher.java:67)
at com.sun.proxy.$Proxy9.runnerFinished(Unknown Source) at
jetbrains.buildServer.agent.impl.buildStages.runnerStages.finish.FireRunnerFinishedFStage.doFinishStage(FireRunnerFinishedFStage.java:29)
at
jetbrains.buildServer.agent.impl.buildStages.RunnerFinishStagesExecutor.runFinishStage(RunnerFinishStagesExecutor.java:32)
at
jetbrains.buildServer.agent.impl.buildStages.RunnerFinishStagesExecutor.doBuildFinishStages(RunnerFinishStagesExecutor.java:23)
at
jetbrains.buildServer.agent.impl.buildStages.startStages.steps.RunnerContextExecutor.safeCallFinishStages(RunnerContextExecutor.java:65)
at
jetbrains.buildServer.agent.impl.buildStages.startStages.steps.RunnerContextExecutor.callRunnerStages(RunnerContextExecutor.java:56)
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.BuildRunAction.doStages(BuildRunAction.java:70)
at
jetbrains.buildServer.agent.impl.BuildRunAction.runBuild(BuildRunAction.java:50)
at
jetbrains.buildServer.agent.impl.BuildAgentImpl.doActualBuild(BuildAgentImpl.java:265)
at
jetbrains.buildServer.agent.impl.BuildAgentImpl.access$100(BuildAgentImpl.java:52)
at
jetbrains.buildServer.agent.impl.BuildAgentImpl$1.run(BuildAgentImpl.java:231)
at java.lang.Thread.run(Thread.java:744)
We tried using different maven versions but the same error appears after
building.
Any help on this would be appreciated. Thank you.
--
View this message in context:
http://forums.jfrog.org/Teamcity-Artifactory-plugin-checksum-error-tp7580004.html
Sent from the Artifactory - Users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users