-
Notifications
You must be signed in to change notification settings - Fork 41
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
Can't removeBadge(id) for a createSummary(icon, id, txt) entry #45
Comments
Hi @jimklimov! |
andreasgrob
added a commit
to andreasgrob/badge-plugin
that referenced
this issue
Jun 2, 2023
removeSummaries already exists with tests, but was never documented. Resolves jenkinsci#45.
andreasgrob
added a commit
to andreasgrob/badge-plugin
that referenced
this issue
Jun 2, 2023
removeSummaries already exists with tests, but was never documented. Resolves jenkinsci#45.
MarkEWaite
pushed a commit
that referenced
this issue
Jun 2, 2023
removeSummaries already exists with tests, but was never documented. Resolves #45.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
I am trying to add a rolling update of my build status, by posting short texts into the build history column and into the summary page. These texts are posted with an ID, so I would remove the older entry when I post a new one.
In case of createSummary(), the README does imply that the id field allows to remove the entry later - but at least removeBadge() did not work for it (works for the "usual" badges though not instantaneously - sometimes several older entries remain and then disappear all at once).
To Reproduce
Pipeline runs a loop, each cycle of which calls this logic at the end to update the progress info:
Expected behavior
I expected the older summary entry to disappear and only the latest to be seen.
Screenshots
As seen in the build summary page (never mind the blank icon areas):
Additional context
I wonder if this is linked to the summary step creating a different kind of object (than the left-column badges that can be removed). Notably, only one XML tag with the ID of a "badge" is present at any time as seen in the build.xml file, but many tags with the same ID of a "summary" are present:
The text was updated successfully, but these errors were encountered: