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

Add slave configuration parameter to redirect builds away from a slave having less than a minimum amount of remaining drive space to another slave in the same label

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor Minor
    • plugin-proposals
    • Jenkins hosted on RHEL 6.8
      Slaves are RHEL 6.8, RHEL 7.1, Windows 7, Windows 10, Windows Server 2008 R2, and Windows Server 2012 R2.

      We restrict our projects to run on various predefined labels such as Lin64, Win64, Win2012, Win10 etc. We don't use Matrix builds.

      We have a large number of different jenkins projects defined (over 200) and each takes upward of 30GB per project. We have quite a few host computers allocated to each label, and we're finding it annoying that when one of them gets below 30GB available disk space, jobs will attempt to run on it and fail after filling up the disk. Then Jenkins marks the slave off-line until such time as someone cleans out some jobs.

      What we'd like is to be able to configure each project with a parameter specifying how much minimum available disk space must be available on a target slave before attempting to run on that slave. If there is insufficient space, we want Jenkins to try another node in the same label until it finds one with enough available space.

      If no node is found with enough available space, we want Jenkins to fail or abort or the build (based on another configuration entry).

          [JENKINS-44638] Add slave configuration parameter to redirect builds away from a slave having less than a minimum amount of remaining drive space to another slave in the same label

          Daniel Pflager created issue -
          Daniel Pflager made changes -
          Summary Original: Add slave configuration parameter to redirect builds away from a slave having less than a minimum amount of remaining drive space New: Add slave configuration parameter to redirect builds away from a slave having less than a minimum amount of remaining drive space to another slave in the same label
          Daniel Pflager made changes -
          Description Original: We restrict our projects to run on various predefined labels such as Lin64, Win64, Win2012, Win10 etc. We don't use Matrix builds.

          We have a large number of different software projects and each takes upward of 30GB per project. We have quite a few host computers allocated to each label, and we're finding it annoying that when one of them gets below 30GB available disk space, jobs will attempt to run on it and fail after filling up the disk. Then Jenkins marks the slave off-line until such time as someone cleans out some jobs.

          What we'd like is to be able to configure each project with a parameter specifying how much minimum available disk space must be available on a target slave before attempting to run on that slave. If there is insufficient space, we want Jenkins to try another node in the same label until it finds one with enough available space.

          If no node is found with enough available space, we want Jenkins to fail or abort or (?) the build (based on another configuration entry).
          New: We restrict our projects to run on various predefined labels such as Lin64, Win64, Win2012, Win10 etc. We don't use Matrix builds.

          We have a large number of different jenkins projects defined (over 200) and each takes upward of 30GB per project. We have quite a few host computers allocated to each label, and we're finding it annoying that when one of them gets below 30GB available disk space, jobs will attempt to run on it and fail after filling up the disk. Then Jenkins marks the slave off-line until such time as someone cleans out some jobs.

          What we'd like is to be able to configure each project with a parameter specifying how much minimum available disk space must be available on a target slave before attempting to run on that slave. If there is insufficient space, we want Jenkins to try another node in the same label until it finds one with enough available space.

          If no node is found with enough available space, we want Jenkins to fail or abort or (?) the build (based on another configuration entry).

          Daniel Beck added a comment -

          Not a bug.

          Daniel Beck added a comment - Not a bug.
          Daniel Beck made changes -
          Component/s New: plugin-proposals [ 15491 ]
          Component/s Original: core [ 15593 ]
          Issue Type Original: Bug [ 1 ] New: New Feature [ 2 ]
          Daniel Beck made changes -
          Labels Original: configuration slave New: configuration newbie-friendly slave
          Mark Waite made changes -
          Labels Original: configuration newbie-friendly slave New: configuration slave

            Unassigned Unassigned
            pflagerd Daniel Pflager
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: