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

Implement build weight support

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Duplicate
    • Icon: Minor Minor
    • heavy-job-plugin
    • Jenkins 2.46.3
      workflow-durable-task-step-plugin 2.12

      There is this Heavy Job Plugin, which defines a Job property for FreeStyle Jobs that causes additional  executores to be required for a Job execution. This is useful if Jobs differ widely in the load that they create on the slaves.

      It would be nice to have this also for the node() groovy command with an optional argument, say 'weight', that, if used and larger than 1, causes more executors to be used. The code can largely be leveraged from the Heavy Job Plugin. AsynchroneousExecution exception is your friend.

      Extra cool would it to allow for weight=0 to cause a FlyWeightTask to be created that does not use an executor.

            Unassigned Unassigned
            rk R K
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: