From 30540d76d308bb8b16dfe33b2731c33900d263fd Mon Sep 17 00:00:00 2001 From: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sat, 9 Sep 2023 04:49:43 +0100 Subject: [PATCH] Move Node monitoring option to app bar (#8381) * Init * Update index.jelly * Update index.jelly * Add description * Add description * Fix test * Update ComputerSetTest.java --------- Co-authored-by: Alexander Brandes --- .../hudson/model/ComputerSet/configure.jelly | 9 ++++++--- .../model/ComputerSet/configure.properties | 1 + .../hudson/model/ComputerSet/index.jelly | 20 ++++++++++++------- .../hudson/model/ComputerSet/sidepanel.jelly | 1 - .../java/hudson/model/ComputerSetTest.java | 8 ++++---- 5 files changed, 24 insertions(+), 15 deletions(-) create mode 100644 core/src/main/resources/hudson/model/ComputerSet/configure.properties diff --git a/core/src/main/resources/hudson/model/ComputerSet/configure.jelly b/core/src/main/resources/hudson/model/ComputerSet/configure.jelly index 6c52cca8ca7e..e97bbc31489d 100644 --- a/core/src/main/resources/hudson/model/ComputerSet/configure.jelly +++ b/core/src/main/resources/hudson/model/ComputerSet/configure.jelly @@ -27,15 +27,18 @@ THE SOFTWARE. --> - + - + + +
${%description}
+ - + diff --git a/core/src/main/resources/hudson/model/ComputerSet/configure.properties b/core/src/main/resources/hudson/model/ComputerSet/configure.properties new file mode 100644 index 000000000000..e2e74cba5ece --- /dev/null +++ b/core/src/main/resources/hudson/model/ComputerSet/configure.properties @@ -0,0 +1 @@ +description=Jenkins monitors each attached node for disk space, free temp space, free swap, clock time/sync, and response time. Nodes will be taken offline if any of these values go outside of the configured threshold. diff --git a/core/src/main/resources/hudson/model/ComputerSet/index.jelly b/core/src/main/resources/hudson/model/ComputerSet/index.jelly index 6c295c2e933b..ff8a8e288075 100644 --- a/core/src/main/resources/hudson/model/ComputerSet/index.jelly +++ b/core/src/main/resources/hudson/model/ComputerSet/index.jelly @@ -32,13 +32,19 @@ THE SOFTWARE. - - - - - ${%New Node} - - + + + + + ${%New Node} + + + + + + ${%Node Monitoring} + +