• Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Major Major
    • core

      Currently, only plugins that extends from SCM have a footprint in the
      polling phase. In a job only one SCM(or none) plugin is allowed to
      handle the polling, no other plugin can intervene.
      I propose two new extension points, one before the actual polling and
      one after the polling.

      This will allow other plugins to have a footprint in the polling
      phase, before and after. Just like the RunListener.

          [JENKINS-14178] Add an SCM poll listener

          jieryn added a comment -

          Wolfgang created https://github.com/jenkinsci/jenkins/pull/505 to add this feature, way to go!

          jieryn added a comment - Wolfgang created https://github.com/jenkinsci/jenkins/pull/505 to add this feature, way to go!

          Code changed in jenkins
          User: wolfgarnet
          Path:
          core/src/main/java/hudson/model/AbstractProject.java
          core/src/main/java/hudson/model/listeners/SCMPollListener.java
          http://jenkins-ci.org/commit/jenkins/f3ddb2856eb94b06ee1c95ed603e65170d782af5
          Log:
          JENKINS-14178 Adding SCM poll listener

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: wolfgarnet Path: core/src/main/java/hudson/model/AbstractProject.java core/src/main/java/hudson/model/listeners/SCMPollListener.java http://jenkins-ci.org/commit/jenkins/f3ddb2856eb94b06ee1c95ed603e65170d782af5 Log: JENKINS-14178 Adding SCM poll listener

          Code changed in jenkins
          User: Kohsuke Kawaguchi
          Path:
          changelog.html
          core/src/main/java/hudson/model/AbstractProject.java
          core/src/main/java/hudson/model/listeners/SCMPollListener.java
          http://jenkins-ci.org/commit/jenkins/f5d378f22915f00e34783043624ce7e8dc3ec793
          Log:
          [FIXED JENKINS-14178] Merge branch 'pull-505'

          Conflicts:
          core/src/main/java/hudson/model/AbstractProject.java

          Compare: https://github.com/jenkinsci/jenkins/compare/d1d66fee144e...f5d378f22915

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kohsuke Kawaguchi Path: changelog.html core/src/main/java/hudson/model/AbstractProject.java core/src/main/java/hudson/model/listeners/SCMPollListener.java http://jenkins-ci.org/commit/jenkins/f5d378f22915f00e34783043624ce7e8dc3ec793 Log: [FIXED JENKINS-14178] Merge branch 'pull-505' Conflicts: core/src/main/java/hudson/model/AbstractProject.java Compare: https://github.com/jenkinsci/jenkins/compare/d1d66fee144e...f5d378f22915

          dogfood added a comment -

          Integrated in jenkins_main_trunk #1790
          JENKINS-14178 Adding SCM poll listener (Revision f3ddb2856eb94b06ee1c95ed603e65170d782af5)

          Result = SUCCESS
          wolfgarnet : f3ddb2856eb94b06ee1c95ed603e65170d782af5
          Files :

          • core/src/main/java/hudson/model/AbstractProject.java
          • core/src/main/java/hudson/model/listeners/SCMPollListener.java

          dogfood added a comment - Integrated in jenkins_main_trunk #1790 JENKINS-14178 Adding SCM poll listener (Revision f3ddb2856eb94b06ee1c95ed603e65170d782af5) Result = SUCCESS wolfgarnet : f3ddb2856eb94b06ee1c95ed603e65170d782af5 Files : core/src/main/java/hudson/model/AbstractProject.java core/src/main/java/hudson/model/listeners/SCMPollListener.java

            wolfgang Christian Wolfgang
            wolfgang Christian Wolfgang
            Votes:
            6 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: