Skip to content

Remove redundant test assertions incompatible with latest credentials plugin#525

Merged
jtnord merged 1 commit into
jenkinsci:masterfrom
MarkEWaite:remove-redundant-usage-checks
Mar 26, 2026
Merged

Remove redundant test assertions incompatible with latest credentials plugin#525
jtnord merged 1 commit into
jenkinsci:masterfrom
MarkEWaite:remove-redundant-usage-checks

Conversation

@MarkEWaite

Copy link
Copy Markdown
Contributor

Remove redundant test assertions incompatible with latest credentials plugin

Existing assertions already check that the credential usage tracking is correct. The deleted assertions add no real value to the tests and are incompatible with the most recent releases of the credentials plugin.

Previously there was an h2 header with an id="h2". That has been removed while still retaining the rest of the usages data on the page.

Detected in plugin BOM pull request:

Testing done

  • Confirmed that tests pass with older credentials plugin and with latest credentials plugin.

Submitter checklist

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests that demonstrate the feature works or the issue is fixed

… plugin

Existing assertions already check that the credential usage tracking
is correct.  The deleted assertions add no real value to the tests and
are incompatible with the most recent releases of the credentials plugin.

Previously there was an `h2` header with an `id="h2"`.  That has been
removed while still retaining the rest of the usages data on the page.

Detected in plugin BOM pull request:

* jenkinsci/bom#6516

Testing done:

* Confirmed that tests pass with older credentials plugin and with latest
  credentials plugin.
@MarkEWaite
MarkEWaite requested a review from a team as a code owner March 26, 2026 19:50
@MarkEWaite

MarkEWaite commented Mar 26, 2026

Copy link
Copy Markdown
Contributor Author

This needs a developer label so that it can be released for inclusion in the plugin BOM this week.

@jglick it looks like you are the preferred choice to label and merge this pull request.

@jtnord
jtnord merged commit 80e905e into jenkinsci:master Mar 26, 2026
18 checks passed
@MarkEWaite
MarkEWaite deleted the remove-redundant-usage-checks branch March 26, 2026 23:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants