jenkinsci / jenkinsci/subversion-plugin

[JENKINS-15141] Subversion exclusions not preventing a build triggered by scm change

Open
#967 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

(jenkins 1.472, subversion plugin 1.42, on windows os)

I have a build job that polls the svn repository for changes and builds if any are found. In the svn configuration, I have set up an exclusion for our version file (which is updated right before committing the build changes). You can see from the output below that the exclusion was recognized but the build was triggered anyway.

------------------------------------

Started on Sep 12, 2012 3:01:53 AM

Received SCM poll call on slave_a builder for project_a on Sep 12, 2012 3:01:54 AM

http://foo/bar/project_a is at revision 4,191

Ignored revision 4,191: Found only excluded paths: /foo/bar/project_a/version.txt

(changed from 3,962)

Done. Took 1.9 sec

Changes found

---
Originally reported by javamllama, imported from: Subversion exclusions not preventing a build triggered by scm change


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

Raw content of original issue

(jenkins 1.472, subversion plugin 1.42, on windows os)
I have a build job that polls the svn repository for changes and builds if any are found. In the svn configuration, I have set up an exclusion for our version file (which is updated right before committing the build changes). You can see from the output below that the exclusion was recognized but the build was triggered anyway.
------------------------------------
Started on Sep 12, 2012 3:01:53 AM
Received SCM poll call on slave_a builder for project_a on Sep 12, 2012 3:01:54 AM
http://foo/bar/project_a is at revision 4,191
Ignored revision 4,191: Found only excluded paths: /foo/bar/project_a/version.txt
(changed from 3,962)
Done. Took 1.9 sec
Changes found

environment

```
JENKINS_HOME E:\jenkins01\tomcat6\bin\..\..\jenkins

awt.toolkit sun.awt.windows.WToolkit

catalina.base E:\jenkins01\tomcat6

catalina.home E:\jenkins01\tomcat6

catalina.useNaming true

common.loader ${catalina.home}/lib,${catalina.home}/lib/*.jar

file.encoding Cp1252

file.encoding.pkg sun.io

file.separator \

java.awt.graphicsenv sun.awt.Win32GraphicsEnvironment

java.awt.printerjob sun.awt.windows.WPrinterJob

java.class.path E:\jenkins01\tomcat6\bin\bootstrap.jar

java.class.version 50.0

java.endorsed.dirs E:\jenkins01\tomcat6\common\endorsed

java.ext.dirs C:\Program Files\Java\jdk1.6.0_33\jre\lib\ext;C:\WINDOWS\Sun\Java\lib\ext

java.home C:\Program Files\Java\jdk1.6.0_33\jre

java.io.tmpdir E:\jenkins01\tomcat6\temp

java.library.path E:\jenkins01\tomcat6\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;c:\oracle\ora11\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\IDM Computer Solutions\UltraEdit-32;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Java\jdk1.6.0_33\bin;C:\apache-ant-1.8.1\bin;C:\Program Files\CVSNT;.

java.naming.factory.initial org.apache.naming.java.javaURLContextFactory

java.naming.factory.url.pkgs org.apache.naming

java.runtime.name Java(TM) SE Runtime Environment

java.runtime.version 1.6.0_33-b05

java.specification.name Java Platform API Specification

java.specification.vendor Sun Microsystems Inc.

java.specification.version 1.6

java.vendor Sun Microsystems Inc.

java.vendor.url http://java.sun.com/

java.vendor.url.bug http://java.sun.com/cgi-bin/bugreport.cgi

java.version 1.6.0_33

java.vm.info mixed mode

java.vm.name Java HotSpot(TM) Server VM

java.vm.specification.name Java Virtual Machine Specification

java.vm.specification.vendor Sun Microsystems Inc.

java.vm.specification.version 1.0

java.vm.vendor Sun Microsystems Inc.

java.vm.version 20.8-b03

javasvn.ssh2.password Welcome!

javasvn.ssh2.username g093107

line.separator

mail.smtp.sendpartial true

mail.smtps.sendpartial true

os.arch x86

os.name Windows 2003

os.version 5.2

package.access sun.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.,sun.beans.

package.definition sun.,java.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.

path.separator ;

server.loader

shared.loader

sun.arch.data.model 32

sun.boot.class.path C:\Program Files\Java\jdk1.6.0_33\jre\lib\resources.jar;C:\Program Files\Java\jdk1.6.0_33\jre\lib\rt.jar;C:\Program Files\Java\jdk1.6.0_33\jre\lib\sunrsasign.jar;C:\Program Files\Java\jdk1.6.0_33\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.6.0_33\jre\lib\jce.jar;C:\Program Files\Java\jdk1.6.0_33\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.6.0_33\jre\lib\modules\jdk.boot.jar;C:\Program Files\Java\jdk1.6.0_33\jre\classes

sun.boot.library.path C:\Program Files\Java\jdk1.6.0_33\jre\bin

sun.cpu.endian little

sun.cpu.isalist pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86

sun.desktop windows

sun.io.unicode.encoding UnicodeLittle

sun.jnu.encoding Cp1252

sun.management.compiler HotSpot Tiered Compilers

sun.os.patch.level Service Pack 2

svnkit.http.methods Digest,Basic,NTLM,Negotiate

svnkit.ssh2.persistent false

tomcat.util.buf.StringCache.byte.enabled true

user.country US

user.dir C:\WINDOWS\system32

user.home C:\Documents and Settings\G093107

user.language en

user.name g093107

user.timezone America/New_York

user.variant
```

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.