Skip to content

Add project query param to build APIs#503

Open
allburov wants to merge 1 commit into
masterfrom
fix/build-project-param
Open

Add project query param to build APIs#503
allburov wants to merge 1 commit into
masterfrom
fix/build-project-param

Conversation

@allburov

@allburov allburov commented Jul 14, 2026

Copy link
Copy Markdown
Member

Fixes #452. Combines #493 and #486, co-authored by @gjed and @donhui.

On top of what those PRs did: get_build_diff() had the same bug, and promote_build() sends the project as a query parameter, not a JSON body field — that's how JFrog's own client does it (jfrog-client-go promote.go#L39-L41), and rest_post() would percent-encode a hand-appended ? anyway.

@beliaev-maksim re: dropping the quotes — they were a bug, Artifactory expects a bare key, and spaces in project names can't happen: a Project Key "supports 2 to 32 lowercase alphanumeric characters and hyphens, and must start with a letter" (docs).

Patreon Boosty

closes #486 closes #493

Co-Authored-By: Marco <marco.pernigo.07@gmail.com>
Co-Authored-By: donhui <977675308@qq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

ArtifactoryBuildManager: get_build_runs() and get_build_info() methods do not take the project name into account.

1 participant