jenkinsci / jenkinsci/subversion-plugin

[JENKINS-18617] When checkout depth is "files", changes in un checked out files deeper in the tree still trigger a build

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

A build step needs to monitor a repository for changes at root level only (depth=files).

Contrary to what is expected, the svn plugin does not distinguish modifications to files deeper in the tree from local changes at depth=files, and a build is triggered for every change in the entire repository (almost every poll, as this is a large project with many teams)

The expected behaviour could be achieved by parsing the output of "svn status --show-updates --depth=files", excluding the entry for "."

(I realize that polling might be running from the master, where no workspace is available and it could be not easy to implement this kind of action...)

---
Originally reported by timor_raiman, imported from: When checkout depth is "files", changes in un checked out files deeper in the tree still trigger a build


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

Raw content of original issue

A build step needs to monitor a repository for changes at root level only (depth=files).
Contrary to what is expected, the svn plugin does not distinguish modifications to files deeper in the tree from local changes at depth=files, and a build is triggered for every change in the entire repository (almost every poll, as this is a large project with many teams)

The expected behaviour could be achieved by parsing the output of "svn status --show-updates --depth=files", excluding the entry for "."

(I realize that polling might be running from the master, where no workspace is available and it could be not easy to implement this kind of action...)


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.