Skip to content

Special characters in the build names are not encoded in the artifactory url and failing to open from Jenkins UI #592

@gaja07

Description

@gaja07

Description:

When publishing a build to Artifactory, if the build name contains special characters, they are not encoded in the artifactory url and failing to open from Jenkins UI. If we directly log into Artifactory and open the builds, we are able to open them and the url encoding is happening correctly.

Steps to reproduce the behavior:
Publish any build to artifactory from Jenkins where the build name has special characters.
And open the Artifactory Icon from Jenkins UI, it fails to open and gives a 404.

Expected behavior:
We should be able to open Artifactory link without any issues where the proper encoding happens.

Example build name : ccc-example-build/promote
image

From Jenikns the url : http://localhost:8082/ui/builds/ccc-example-build/promote/8/1638710194716/published where the encoding for the special character is not happening and resulting in 404.
image

From Artifactory the url : http://localhost:8082/ui/builds/ccc-example-build%2Fpromote/8/1638710194716/published where the encoding is happening and we can open the build.
image

Versions
Artifactory plugin version > 3.13.2
Jennies > 2.303.2
Artifactory version > 7.24.3

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions