Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-69300

Post-commit hooks don't start jobs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • subversion-plugin
    • None
    • Jenkins 2.346.2
      subversion-plugin 2.16.0
      java_version 1.8.0_181

      I have many jobs in jenkins in which I use plugin "Subversion Plug-in". I use settings as screen1 and screen2. In svn server installed post-commit hook like in documentation https://plugins.jenkins.io/subversion/.
      When I make commit in my repo I expect this commit trigger my job but this is not happen. I see that my jenkins recive hook, but the task does not start.
      For example, I make commit to repo "pNRPT/Projects/DEVOPS/*" and see log in Jenkins:

      авг 10, 2022 12:45:12 AM FINER hudson.scm.SubversionRepositoryStatus
      Reading line: U   pNRPT/Projects/DEVOPS/test.txt
      авг 10, 2022 12:45:12 AM FINE hudson.scm.SubversionRepositoryStatus
      Change reported to Subversion repository f4a00ee3-6796-0442-a6fd-adcae048c563 on [pNRPT/Projects/DEVOPS/test.txt]
      авг 10, 2022 12:45:12 AM FINE hudson.scm.SubversionRepositoryStatus
      Starting subversion locations checks for all jobs
      авг 10, 2022 12:45:12 AM FINE hudson.scm.SubversionRepositoryStatus
      Ended subversion locations checks for all jobs
      авг 10, 2022 12:45:12 AM WARNING hudson.scm.SubversionRepositoryStatus$JobTriggerListenerImpl onNotify
      No subversion jobs found
      авг 10, 2022 12:45:12 AM WARNING hudson.scm.SubversionRepositoryStatus doNotifyCommit
      No interest in change to repository UUID f4a00ee3-6796-0442-a6fd-adcae048c563 found

      Why Jenkins cann't find changes? SVN uuid is correct. If I manually start the job or set the schedule in pool SCM, then the job will be done.

      I tried to install and configure another svn server and got the same result and I  think that problem in Jenkins or Jenkins plugin.

        1. screen1.png
          71 kB
          Sergey Beketov
        2. screen2.png
          61 kB
          Sergey Beketov

            Unassigned Unassigned
            beketovsv Sergey Beketov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: