jenkinsci / jenkinsci/subversion-plugin

[JENKINS-44696] Subversion post-commit notif not working when URL contains "@NNN"

Open
#1,424 0 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

When the Repository URL is defined with "@​NNN" for revision, the post commit hook does not find the job. Error in log is "No subversion consumers for UUID...". After @​NNN is removed, the notify works fine and the job is kicked off.

It seems like this is a bug because the post-commit notification is designed to run for a specific revision. Also, looking at the source code, I found SvnHelper.getUrlWithoutRevision seems designed for this exact purpose. However it is in the hudson branch of the code not the jenkins branch.

Removing the "@​NNN" from the URL isn't an ideal solution for us because we want to use the same job for auto builds and manual builds where the user selects the revision to build.

---
Originally reported by tosborn, imported from: Subversion post-commit notif not working when URL contains "@NNN"


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

Raw content of original issue

When the Repository URL is defined with "@NNN" for revision, the post commit hook does not find the job. Error in log is "No subversion consumers for UUID...". After @NNN is removed, the notify works fine and the job is kicked off.

It seems like this is a bug because the post-commit notification is designed to run for a specific revision. Also, looking at the source code, I found SvnHelper.getUrlWithoutRevision seems designed for this exact purpose. However it is in the hudson branch of the code not the jenkins branch.

Removing the "@NNN" from the URL isn't an ideal solution for us because we want to use the same job for auto builds and manual builds where the user selects the revision to build.

  • environment: Jenkins version 2.54, Subversion plugin version 2.7.2, RHEL OS, Java 1.8_131

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.