Skip to content

test(core): ensure display name and description survive config roundtrip#25986

Closed
tanmayhajelaw14 wants to merge 1 commit intojenkinsci:masterfrom
tanmayhajelaw14:master
Closed

test(core): ensure display name and description survive config roundtrip#25986
tanmayhajelaw14 wants to merge 1 commit intojenkinsci:masterfrom
tanmayhajelaw14:master

Conversation

@tanmayhajelaw14
Copy link

Summary

This pull request adds a small regression test to ensure that a job’s
display name and description are preserved across a configuration
round-trip.

Motivation

Jenkins relies heavily on saving and reloading job configuration via
config round-trips. This test explicitly locks the expected behavior
that a job’s display name and description remain unchanged after such
a round-trip, helping prevent subtle regressions in the future.

Testing done

  • Added a unit test in JobTest
  • Verified locally by running mvn -pl core -DskipITs test

Screenshots (UI changes only)

N/A

Proposed changelog entries

N/A (test-only change)

Proposed changelog category

/label skip-changelog

Proposed upgrade guidelines

N/A

@comment-ops-bot comment-ops-bot bot added the skip-changelog Should not be shown in the changelog label Dec 26, 2025
@tanmayhajelaw14
Copy link
Author

Closing this PR because it was opened from main.
Reopened correctly from a feature branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-changelog Should not be shown in the changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant