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

hudson.model.Queue$BuildableItem missing Data

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          Nothing to do on the Pipeline side. Stash Pull Request Builder needs to resolve subtasks correctly

          Show
          oleg_nenashev Oleg Nenashev added a comment - Nothing to do on the Pipeline side. Stash Pull Request Builder needs to resolve subtasks correctly

            People

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

              Dates

              Created:
              Updated:
              Resolved: