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

hudson.model.Queue$BuildableItem missing Data

XMLWordPrintable

      The queue api is missing essential data in a workflow job.

      InĀ item _class "hudson.model.Queue$BuildableItem" with a task_class hudson.model.FreeStyleProject there are (amongst others) 2 actions classes hudson.model.ParametersAction and hudson.model.CauseAction. these action classes are missing at task class with value: org.jenkinsci.plugins.workflow.support.steps.ExecutorStepExecution$PlaceholderTask.

      This was discovered while debugging the Jenkins plugin: https://plugins.jenkins.io/stash-pullrequest-builder which needs this data to abort builds. The classes are added when the builds are created but not available in the queue (api). These classes are however available in a Job build api. See attached XML-file for example.

            nemccarthy nathan m
            tjx X X
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: