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

IllegalStateException: inappropriate context

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • jenkins-2.492.2-1.1.noarch on rockylinux 8 running java-17-openjdk-devel-17.0.14.0.7-3.el8.x86_64 with Gitea Plugin
      Version238.v626a_cf5e1940

      One of our pipeline randomly breaks with 

       

      Push event to branch main
      java.lang.IllegalStateException: inappropriate context
          at PluginClassLoader for workflow-multibranch//org.jenkinsci.plugins.workflow.multibranch.SCMBinder.create(SCMBinder.java:92)
          at PluginClassLoader for workflow-job//org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:319)
          at hudson.model.ResourceController.execute(ResourceController.java:101)
          at hudson.model.Executor.run(Executor.java:446)
      [Gitea] do not publish assets due to build being non-Successfully
      [withMaven] downstreamPipelineTriggerRunListener - Failure to introspect build steps: java.io.IOException: vdl/eTax/main #677 did not yet start
      [withMaven] downstreamPipelineTriggerRunListener - Failure to introspect build steps: java.io.IOException: vdl/eTax/main #677 did not yet start
      Finished: FAILURE

      That error doesn't happen if we run the pipeline again. It hasn't even reached loading the repository jenkinsfile yet.

      I've tried removing the workspace, that helped by reducing the interval at which it happens, but it still happens.

            Unassigned Unassigned
            benjamin_demarteau Benjamin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: