[HAP-573] Link to build info is broken when job is inside a folder Created: 27/Feb/15  Updated: 14/Nov/17  Resolved: 29/Mar/15

Status: Resolved
Project: Jenkins Artifactory Plug-in
Component/s: None
Affects Version/s: 2.2.5, 2.2.7
Fix Version/s: 2.3.0

Type: Bug Priority: Critical
Reporter: Adrien Lecharpentier Assignee: Aviad Shikloshi (Inactive)
Resolution: Fixed Votes: 3
Labels: None

Issue Links:
Duplicate
is duplicated by HAP-559 Upgrading to jenkins plugin 2.2.5 bre... Resolved
Relationship
is related to HAP-840 Slashes in branch name break the link... Open

 Description   

Since BuildInfoResultAction.java has been modified in 37ebd6c2, the urlName used is incorrect.

As, for a job located in a folder, the name will contain the "/" character, the Util.rawEncode will change it to %2F. Before, in 2.2.4, you used the ExtractorUtils.sanitizeBuildName that would replace the "/" by " :: " string.

Currently, the links are not valid.

Please see the PR https://github.com/JFrogDev/jenkins-artifactory-plugin/pull/5 I filled for this issue.


Generated at Sat Aug 24 08:42:52 UTC 2019 using JIRA 7.6.3#76005-sha1:8a4e38d34af948780dbf52044e7aafb13a7cae58.