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

heavy-job-plugin: Move default weight to a global setting

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • heavy-job-plugin
    • None

      My build server contains 100 big jobs, 10 small jobs.

      I want each slave to be able to run 1 big job at the same time, or 5 small jobs at the same time, or 1 big and 2 small jobs t the same time.

      heavy-job-plugin allows me to configure this:
      Big job weighting = 3
      Small job weighting = 1
      Number of executors per server = 5

      The problem is that when a new big job is created, if the weighting isn't set to 3, and instead it is left at the default 1, then it could end up being built 5! times on the same slave.

      It would be safer instead if I could globally set the default weighting to 3, and conservatively have jobs opt into specifying that they're small.

            Unassigned Unassigned
            tomfitzhenry tomfitzhenry
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: