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

Jenkins doesn't detect CVS polling on Pipeline (Workflow) Job

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • cvs-plugin
    • Jenkins 1.642.1
      Pipeline (workflow-plugin) 1.13

      Polling error on a Pipeline Job:

      java.lang.AbstractMethodError: you must override the new overload of compareRemoteRevisionWith
      	at hudson.scm.SCM.compareRemoteRevisionWith(SCM.java:375)
      	at org.jenkinsci.plugins.workflow.job.WorkflowJob.poll(WorkflowJob.java:507)
      	at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:526)
      	at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:555)
      	at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:119)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745)
      

          [JENKINS-33016] Jenkins doesn't detect CVS polling on Pipeline (Workflow) Job

          Flávio Augusto Valones created issue -

          I submit a pull request (https://github.com/jenkinsci/cvs-plugin/pull/41) to fix this.

          Flávio Augusto Valones added a comment - I submit a pull request ( https://github.com/jenkinsci/cvs-plugin/pull/41 ) to fix this.
          Flávio Augusto Valones made changes -
          Assignee New: Michael Clarke [ mc1arke ]
          Flávio Augusto Valones made changes -
          Link New: This issue is related to JENKINS-24141 [ JENKINS-24141 ]

          Jesse Glick added a comment -

          Generally you should check for deprecation warnings in SCM subclasses.

          Jesse Glick added a comment - Generally you should check for deprecation warnings in SCM subclasses.

          Sorry jglick, who is that comment aimed at? Is there an issue with the pull request, or are you implying that plugin maintainers should be checking the compatibility of their plugin with each Jenkins version?

          Michael Clarke added a comment - Sorry jglick , who is that comment aimed at? Is there an issue with the pull request, or are you implying that plugin maintainers should be checking the compatibility of their plugin with each Jenkins version?

          What needs to happen so I can use CVS polling from a pipeline?

          As a workaround, I can use cron and trigger a build via HTTP if changes found, but that is a hack.

          P.S. The link to the "compatibility guide" on https://github.com/jenkinsci/workflow-scm-step-plugin/blob/master/README.md returns a 404.

          Mark Bucciarelli added a comment - What needs to happen so I can use CVS polling from a pipeline? As a workaround, I can use cron and trigger a build via HTTP if changes found, but that is a hack. P.S. The link to the "compatibility guide" on https://github.com/jenkinsci/workflow-scm-step-plugin/blob/master/README.md returns a 404.

          Flávio Augusto Valones added a comment - - edited

          I'm using the plugin modified by the pull request above for five months now in production and the CVS polling works very well.

          Flávio Augusto Valones added a comment - - edited I'm using the plugin modified by the pull request above for five months now in production and the CVS polling works very well.
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 168841 ] New: JNJira + In-Review [ 183255 ]

          valones It looks like the CVS plugin maintainer will not create a new major version with your patch. Would you be willing to publish your fork to Jenkins plugin repo under a new name?

          Mark Bucciarelli added a comment - valones It looks like the CVS plugin maintainer will not create a new major version with your patch. Would you be willing to publish your fork to Jenkins plugin repo under a new name?

            Unassigned Unassigned
            valones Flávio Augusto Valones
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: