Skip to content

Added --status option for art:build-info promote#221

Merged
perseoGI merged 1 commit intomainfrom
pgi/build-info/fix-comment
Nov 17, 2025
Merged

Added --status option for art:build-info promote#221
perseoGI merged 1 commit intomainfrom
pgi/build-info/fix-comment

Conversation

@perseoGI
Copy link
Contributor

Following build-promotion documentation, we can see that effectively, if you create a build-info with a comment but no status is added, the promotion history won't be tracked.

Demo

Following this steps,

$ conan new cmake_exe -d name="myapp" -d version=1.0
$ conan create . --format json > graph.json
$ conan art:build-info create graph.json mybuildname 1 dev --server myartifactory > mybuildname.json
$ conan art:build-info upload mybuildname.json --server myartifactory
$ conan art:build-info promote mybuildname 1 dev prod --server myartifactory --comment "All good"

will result in:
empty-comment

But, with this new option,

$ conan art:build-info promote mybuildname 1 dev prod --server myartifactory --comment "All good" --status "My Status"

with-comment

Fix #216

@CLAassistant
Copy link

CLAassistant commented Nov 17, 2025

CLA assistant check
All committers have signed the CLA.

@perseoGI perseoGI merged commit 9a28d21 into main Nov 17, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

build-info promote comment not visible in Artifactory UI

4 participants