Remove extra "/artifactory/" in description url of uploadArtifactsToArtifactory
After recent upgrade of artifactory this part should be already included
in repo name/path
Related-To: PRODX-10712
Change-Id: Ie11847e652d8db323f1b78bcfed89f221eda4032
diff --git a/src/com/mirantis/mcp/MCPArtifactory.groovy b/src/com/mirantis/mcp/MCPArtifactory.groovy
index 1cdb315..fd01573 100644
--- a/src/com/mirantis/mcp/MCPArtifactory.groovy
+++ b/src/com/mirantis/mcp/MCPArtifactory.groovy
@@ -516,7 +516,7 @@
}"""
artifactoryServer.upload(uploadSpec, newBuildInfo())
- def linkUrl = "${artifactoryServer.getUrl()}/artifactory/${config.get('artifactoryRepo')}"
+ def linkUrl = "${artifactoryServer.getUrl()}/${config.get('artifactoryRepo')}"
artifactsDescription = "Job artifacts uploaded to Artifactory: <a href=\"${linkUrl}\">${linkUrl}</a>"
} catch (Exception e) {
if (e =~ /no artifacts/) {