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

Unable to trigger pipeline with cloudbees folder

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • Jenkins 2.44

      Getting the following after upgrading to scm-api v2.0.2 along with all the dependents. Attachment has more plugin versions and such.

      Feb 03, 2017 12:39:02 AM WARNING hudson.triggers.Trigger checkTriggers
      com.cloudbees.hudson.plugins.folder.computed.PeriodicFolderTrigger.run() failed for org.jenkinsci.plugins.workflow.job.WorkflowJob@383b8cd7[tectonic-licensing/master]
      java.lang.ClassCastException: org.jenkinsci.plugins.workflow.job.WorkflowJob cannot be cast to com.cloudbees.hudson.plugins.folder.computed.ComputedFolder
      	at com.cloudbees.hudson.plugins.folder.computed.PeriodicFolderTrigger.run(PeriodicFolderTrigger.java:162)
      	at hudson.triggers.Trigger.checkTriggers(Trigger.java:278)
      	at hudson.triggers.Trigger$Cron.doRun(Trigger.java:226)
      	at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:50)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
      	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)
      
      Feb 03, 2017 12:40:27 AM WARNING com.cloudbees.jenkins.GitHubRepositoryName create
      Could not match URL $GIT_REPO
      Feb 03, 2017 12:41:31 AM INFO org.jenkinsci.plugins.github.webhook.subscriber.DefaultPushGHEventSubscriber onEvent
      Received PushEvent for https://github.com/coreos-inc/tectonic-licensing
      Feb 03, 2017 12:41:31 AM INFO org.jenkinsci.plugins.github_branch_source.PushGHEventSubscriber onEvent
      Received PUSH for https://github.com/coreos-inc/tectonic-licensing
      

          [JENKINS-41688] Unable to trigger pipeline with cloudbees folder

          After looking more at the blogposts, this might be due to not having all plugins updated to 2.0.x. I thought scm-api was the only unreleased version, but it turns out multibranch, and multiple other plugins necessary to move all things to 2.0.x are still unreleased.

          Chance Zibolski added a comment - After looking more at the blogposts, this might be due to not having all plugins updated to 2.0.x. I thought scm-api was the only unreleased version, but it turns out multibranch, and multiple other plugins necessary to move all things to 2.0.x are still unreleased.

          This is still occuring after upgrading all my SCM based plugins to their 2.x releases. I'm not even using the github organization folder plugin, just a normal folder with two multi-branch pipeline jobs.

          Chance Zibolski added a comment - This is still occuring after upgrading all my SCM based plugins to their 2.x releases. I'm not even using the github organization folder plugin, just a normal folder with two multi-branch pipeline jobs.

          l also have this warnings in the log on a Jenkins 2.60.2 with all plugins up to date although I don't notice any functional issues in Jenkins.

          Thorsten Gilfert added a comment - l also have this warnings in the log on a Jenkins 2.60.2 with all plugins up to date although I don't notice any functional issues in Jenkins.

          Am seeing this same error under Jenkins 2.60.2 with all plugins updated.

          Stephen Repetski added a comment - Am seeing this same error under Jenkins 2.60.2 with all plugins updated.

          Alexander Yu added a comment -

          Still seeing same under 2.73.3 with all latest pulgins updated

          Alexander Yu added a comment - Still seeing same under 2.73.3 with all latest pulgins updated

          Jimmy Ray added a comment -

          This is polluting my Jenkins logs, has there been any movement on this?

          Jimmy Ray added a comment - This is polluting my Jenkins logs, has there been any movement on this?

            Unassigned Unassigned
            chancez Chance Zibolski
            Votes:
            6 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated: