Skip to content

Print revisions in chronological order in publish message - #151

Open
daqqad wants to merge 1 commit into
jenkinsci:masterfrom
daqqad:fix-revision-message-order
Open

daqqad wants to merge 1 commit into
jenkinsci:masterfrom
daqqad:fix-revision-message-order

Conversation

@daqqad

@daqqad daqqad commented Oct 22, 2026

Copy link
Copy Markdown

Fixes #150
#150

The build log message listed the current revision first:

Last changes from revision 27ad83a (current) to a511a43 (previous) published successfully!

It now reads from the previous revision to the current one:

Last changes from revision a511a43 (previous) to revision 27ad83a (current) published successfully!

Only the message text and argument order change.

Testing done

Updated the existing log assertions in LastChangesTest and LastChangesPipelineTest to the new wording; these tests run the publisher and check the printed message, so they execute the changed line. Ran them locally:

mvn -Dtest='LastChangesTest,LastChangesPipelineTest' test

15 tests run, 0 failures (1 skipped by an existing @Disabled).

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
  • Ensure you have provided tests that demonstrate the feature works or the issue is fixed

@daqqad
daqqad requested a review from a team as a code owner October 22, 2026 01:22
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.

List revisions oldest-first in the publish log message

1 participant