[JIRA] (JENKINS-62194) SVN commit hook not triggering builds on some new build jobs

3 views
Skip to first unread message

sa954@smaract.com (JIRA)

unread,
May 7, 2020, 1:23:02 AM5/7/20
to jenkinsc...@googlegroups.com
Benjamin Kloster created an issue
 
Jenkins / Bug JENKINS-62194
SVN commit hook not triggering builds on some new build jobs
Issue Type: Bug Bug
Assignee: Ivan Fernandez Calvo
Components: subversion-plugin
Created: 2020-05-07 05:22
Environment: Jenkins 2.234
subversion Plugin 2.13.0, 2.13.1
Labels: subversion-plugin commit-hook
Priority: Minor Minor
Reporter: Benjamin Kloster

Since at least a week ago, some newly created build jobs on our Jenkins do not get triggered by our Subversion's post-commit notification. It has worked reliably for all new jobs before that. Existing jobs do not seem to be affected. Some newly created build jobs work fine as well.

The affected build jobs are Pipelines with "Pipeline Script from SCM". Their SVN polling behavior is set to "@monthly". The notification definitely arrives, but Jenkins apparently can't find any matching builds, see the following log snippet:

 

May 05, 2020 7:12:27 AM FINE hudson.scm.SubversionRepositoryStatus
Change reported to Subversion repository 2014c15a-19c3-4144-bd3a-3a8116d50215 on [personal/kloster/MyProject/SomeFile]
May 05, 2020 7:12:27 AM FINE hudson.scm.SubversionRepositoryStatus
Starting subversion locations checks for all jobs
May 05, 2020 7:12:27 AM FINE hudson.scm.SubversionRepositoryStatus
Ended subversion locations checks for all jobs
May 05, 2020 7:12:27 AM FINE hudson.scm.SubversionRepositoryStatus
No jobs found matching the modified files

At the time of this log entry, there was a job configured with the SVN URL ending in personal/kloster/MyProject.

Sometimes but not always, changing the SVN URL of the affected build job or manually triggering apoll by appending "/polling" to its URL will "repair" the job, making it react to the commit hook properly.

Any advice on how to further investigate the root cause?

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo

sa954@smaract.com (JIRA)

unread,
May 7, 2020, 3:28:02 AM5/7/20
to jenkinsc...@googlegroups.com
Benjamin Kloster commented on Bug JENKINS-62194
 
Re: SVN commit hook not triggering builds on some new build jobs

Addendum: Even after manually polling in an affected build job, the sidebar only shows "Polling Log". All jobs that work correctly show "Subversion Polling Log" instead.

kuisathaverat@gmail.com (JIRA)

unread,
May 7, 2020, 4:50:02 AM5/7/20
to jenkinsc...@googlegroups.com
Ivan Fernandez Calvo assigned an issue to Unassigned
 
Change By: Ivan Fernandez Calvo
Assignee: Ivan Fernandez Calvo
Reply all
Reply to author
Forward
0 new messages