• 1746.vf1673cfe690a

      This configuration is available from UI at <base url>/computer/configure

      It would be nice to have that configuration supported by JCasC.

      Not sure if that's some particular plugin, so binding the ticket to the "core" component.

      Currently, it's necessary to use the groovy scripting to achieve that:

      import hudson.node_monitors.DiskSpaceMonitor
      ComputerSet.getMonitors().replace(new DiskSpaceMonitor("10GB"))
      

       

          [JENKINS-64816] Support "Preventive Node Monitoring" for JCasC

          Sasha created issue -
          Sasha made changes -
          Link New: This issue relates to JENKINS-24947 [ JENKINS-24947 ]
          Sasha made changes -
          Description Original: This configuration is available from UI at {{<base url>/computer/configure}}

          !https://user-images.githubusercontent.com/4091725/106894185-4b3a4f80-66f7-11eb-97b1-4b477f446485.png!

          It would be nice to have that configuration supported by JCasC.

          Not sure if that's some particular plugin, so binding the ticket to the "core" component.

          {{Currently, it's necessary to use the groovy scripting to acheive that:}}
          {code:java}
          import hudson.node_monitors.DiskSpaceMonitor
          ComputerSet.getMonitors().replace(new DiskSpaceMonitor("10GB"))
          {code}
          {{}}{{}}
          New: This configuration is available from UI at {{<base url>/computer/configure}}

          !https://user-images.githubusercontent.com/4091725/106894185-4b3a4f80-66f7-11eb-97b1-4b477f446485.png!

          It would be nice to have that configuration supported by JCasC.

          Not sure if that's some particular plugin, so binding the ticket to the "core" component.

          {{Currently, it's necessary to use the groovy scripting to achieve that:}}
          {code:java}
          import hudson.node_monitors.DiskSpaceMonitor
          ComputerSet.getMonitors().replace(new DiskSpaceMonitor("10GB"))
          {code}
           
          Markus Winter made changes -
          Assignee New: Markus Winter [ mawinter69 ]
          Valentin Delaye made changes -
          Link New: This issue relates to JENKINS-63971 [ JENKINS-63971 ]
          Markus Winter made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Markus Winter made changes -
          Remote Link New: This issue links to "PR (Web Link)" [ 28994 ]
          Markus Winter made changes -
          Link New: This issue duplicates JENKINS-71628 [ JENKINS-71628 ]
          Markus Winter made changes -
          Component/s New: configuration-as-code-plugin [ 23170 ]
          Markus Winter made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Fixed but Unreleased [ 10203 ]
          Markus Winter made changes -
          Released As New: 1746.vf1673cfe690a
          Status Original: Fixed but Unreleased [ 10203 ] New: Resolved [ 5 ]

            mawinter69 Markus Winter
            bahdaden Sasha
            Votes:
            5 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: