-
Notifications
You must be signed in to change notification settings - Fork 242
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jf rt build-append
fails with 404 when looking for a build with ":" in name
#1803
Comments
jf rt build-append
fails with 404 when looking for a build with ":" in name
+1 on this issue We have the same thing resulting from using default build names on a Jenkins system where the build definitions are kept under folders. Each path separator in the folder hierarchy becomes ' :: ' (a pair of colons with a space on either side) in the build name, and Same result, a 404 error with no descriptive message Curiously enough, some of the variations I've tried to look for a workaround print an informative message about the target not being found instead of the more cryptic Examples:
|
We have the same issue, though the error is a bit different:
Result is the same though, the append command fails to append the build. |
@lmcpare @john-heinnickel @DavidRadoorHummel Duplication of #2043 |
@lmcpare @DavidRadoorHummel |
Thanks, but we're completely reworking how build info is used in Artifactory. We have use cases where we need build info to have different package protocols in one and be able to promote this. This doesn't work, by default, in Artifactory. |
Sure @DavidRadoorHummel |
You're already helping immensely by maintaining JFrog CLI 😄 Great tool! |
Describe the bug
The build-append command fails to process builds that include the ":" character in their name.
The same command succeeds when processing standard build names, i.e. with the ":" character in them.
Current behavior
These are the associated logs in artifactory-request.log:
Reproduction steps
Using the build-append command, append the buildInfo of an existing build whose name include a ":" character in it.
Repeat the same command with a regular build name succeeds.
Expected behavior
The
build-append
command should behave properly for any build name, with or without special chars.Suggestion: the cli code might need to encode the paths it sends to Artifactory. In the case of build names with special chars, their location within the
artifactory-build-info
is encoded, where:
is replaced by%3A
internally in the repo. It may be the reason why thebuild-append
command as it is currently fails.JFrog CLI version
2.32.0
Operating system type and version
Fedora 36
JFrog Artifactory version
7.47.12
JFrog Xray version
No response
The text was updated successfully, but these errors were encountered: