jenkinsci / jenkinsci/subversion-plugin

[JENKINS-6746] build revision is wrong/confusing when last changed is different

Open
#709 3 comments 0 reactions 0 assignees View on GitHub
component:subversion-plugin imported-jira-issue priority:major resolution:unresolved
Dominant language
Java
Stars
131
Forks
275
Avg merge
12h 4m
Merged PRs (30d)
6

Description

If you go to for example hudson/myJob/build/100, and for that build the svn info of the directory it updates is:

Revision: 43187

Node Kind: directory
Schedule: normal
Last Changed Author: merge
Last Changed Rev: 43183

then the build page will show "Revision: 43183" which is VERY deceptive since SVN disagrees, because in the SVN info, "Revision" exists as a property and is newer. It should at least say "Last Changed Rev" if this is the revision it is displaying. Otherwise trying to figure out which changes were built can be very confusing.

It is also confusing because while Hudson shows the last changed rev, it lists no changes on the build page:

Revision: 43183

No changes.

I think the ideal solution would be to list both the Revision and Last Changed Revision when they are different, and make it clear that the "Changes" are based on the "Revision" and not "Last Changed Revision".

---
Originally reported by mcrooney, imported from: build revision is wrong/confusing when last changed is different


  • status: Open
  • priority: Major
  • component(s): subversion-plugin
  • resolution: Unresolved
  • votes: 2
  • watchers: 4
  • imported: 20251212-090250

Raw content of original issue

If you go to for example hudson/myJob/build/100, and for that build the svn info of the directory it updates is:


Revision: 43187

Node Kind: directory
Schedule: normal
Last Changed Author: merge
Last Changed Rev: 43183

then the build page will show "Revision: 43183" which is VERY deceptive since SVN disagrees, because in the SVN info, "Revision" exists as a property and is newer. It should at least say "Last Changed Rev" if this is the revision it is displaying. Otherwise trying to figure out which changes were built can be very confusing.

It is also confusing because while Hudson shows the last changed rev, it lists no changes on the build page:


Revision: 43183

No changes.

I think the ideal solution would be to list both the Revision and Last Changed Revision when they are different, and make it clear that the "Changes" are based on the "Revision" and not "Last Changed Revision".

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.