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

GitHub | bparees | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Sync plugin throws exception for non-pipeline builds

    GitHub | 9 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