java.lang.IllegalStateException: Cannot poll a non-workflow run

GitHub | bparees | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Sync plugin throws exception for non-pipeline builds

    GitHub | 7 months ago | bparees
    java.lang.IllegalStateException: Cannot poll a non-workflow run

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Cannot poll a non-workflow run

      at io.fabric8.jenkins.openshiftsync.BuildSyncRunListener.pollRun()
    2. io.fabric8.jenkins
      BuildSyncRunListener.onCompleted
      1. io.fabric8.jenkins.openshiftsync.BuildSyncRunListener.pollRun(BuildSyncRunListener.java:171)
      2. io.fabric8.jenkins.openshiftsync.BuildSyncRunListener.onCompleted(BuildSyncRunListener.java:141)
      2 frames
    3. Hudson
      Executor.run
      1. hudson.model.listeners.RunListener.fireCompleted(RunListener.java:201)
      2. hudson.model.Run.execute(Run.java:1783)
      3. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      4. hudson.model.ResourceController.execute(ResourceController.java:98)
      5. hudson.model.Executor.run(Executor.java:410)
      5 frames