2016-07-15 7 views
0

をArtifactoryするArtifactoryにアップロードチェックサム検証の失敗があります。Mavenの「チェックサム検証は、失敗したxxxの期待が、ためYYYである」ジェンキンスさんからのアップロードにジェンキンスは、Mavenのでビルドを随時

[INFO] --- maven-deploy-plugin:2.7:deploy (default-deploy) @ example-matcher --- 
[INFO] Uploading: https://artifactory.example.com/artifactory/libs-release-local/com/example/test/examplematcher/example-matcher/183/example-matcher-183.pom 
[INFO] Uploaded: https://artifactory.example.com/artifactory/libs-release-local/com/example/test/examplematcher/example-matcher/183/example-matcher-183.pom (10 KB at 4.2 KB/sec) 
[INFO] Downloading: https://artifactory.example.com/artifactory/libs-release-local/com/example/test/examplematcher/example-matcher/maven-metadata.xml 
[WARNING] Checksum validation failed, expected e57ff3c617c84b922d5806a0ba7a9477b274919b but is f64094cf27d28dce9a8fe3fce63dd9c4d113b22a for https://artifactory.example.com/artifactory/libs-release-local/com/example/test/examplematcher/example-matcher/maven-metadata.xml 
[INFO] Downloaded: https://artifactory.example.com/artifactory/libs-release-local/com/example/test/examplematcher/example-matcher/maven-metadata.xml (3 KB at 8.3 KB/sec) 
[INFO] Uploading: https://artifactory.example.com/artifactory/libs-release-local/com/example/test/examplematcher/example-matcher/maven-metadata.xml 
[INFO] Uploaded: https://artifactory.example.com/artifactory/libs-release-local/com/example/test/examplematcher/example-matcher/maven-metadata.xml (3 KB at 6.2 KB/sec) 

任意のアイデア、なぜこれが起こっているのか、それが起こるのを止める方法は?

答えて

1

この警告メッセージはArtifactoryのチェックサム検証機能によるものです。ファイルがArtifactoryにデプロイされると、ローカルリポジトリに定義された "チェックサムポリシー"に基づいて、クライアントからArtifactoryに送信されたチェックサムが検証され、チェックサムが同じでない場合、この警告が表示されます。

「チェックサムポリシー」hereで詳しく読むことができます。

+0

私はそれを知っていると理解していますが、私はその不一致の可能性のある原因を探しています。 JenkinsはArtifactoryに書いている唯一のものであり、同時ビルドはありません。 Jenkinsがアップロードしたアーティファクトのチェックサムによる検証は検証できません。いくつかのビルドはうまくいきますが、パターンのないこのエラーで失敗するものもあります。 – user1737246

関連する問題