From c35d193e0637dbb2c0e4aa8ff1aba5aacd84c3cc Mon Sep 17 00:00:00 2001
From: shlomomdahan <64103471+shlomomdahan@users.noreply.github.com>
Date: Thu, 31 Oct 2024 18:08:43 -0400
Subject: [PATCH 1/4] test
---
.../buildpipeline/BuildPipelineView/main_dashboard.jelly | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/main/resources/au/com/centrumsystems/hudson/plugin/buildpipeline/BuildPipelineView/main_dashboard.jelly b/src/main/resources/au/com/centrumsystems/hudson/plugin/buildpipeline/BuildPipelineView/main_dashboard.jelly
index 79262ca2..f038580f 100755
--- a/src/main/resources/au/com/centrumsystems/hudson/plugin/buildpipeline/BuildPipelineView/main_dashboard.jelly
+++ b/src/main/resources/au/com/centrumsystems/hudson/plugin/buildpipeline/BuildPipelineView/main_dashboard.jelly
@@ -3,10 +3,11 @@
+
diff --git a/src/main/resources/au/com/centrumsystems/hudson/plugin/buildpipeline/BuildPipelineView/toggle-build-details.js b/src/main/resources/au/com/centrumsystems/hudson/plugin/buildpipeline/BuildPipelineView/toggle-build-details.js
new file mode 100644
index 00000000..b8c6e241
--- /dev/null
+++ b/src/main/resources/au/com/centrumsystems/hudson/plugin/buildpipeline/BuildPipelineView/toggle-build-details.js
@@ -0,0 +1,10 @@
+// show/hide build details
+jQuery(function() {
+ jQuery(".header").click(function() {
+ var parent = jQuery(this).parent();
+ var ba = parent.find(".build-actions");
+ var bb = parent.find(".build-body");
+
+ ba.add(bb).toggle('slow');
+ });
+});
From 6e4b7461b4596ad3af8a61db438e741d120d1d37 Mon Sep 17 00:00:00 2001
From: Shlomo Dahan <64103471+shlomomdahan@users.noreply.github.com>
Date: Fri, 8 Nov 2024 12:07:24 -0500
Subject: [PATCH 4/4] Update toggle-build-details.js
---
.../buildpipeline/BuildPipelineView/toggle-build-details.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/resources/au/com/centrumsystems/hudson/plugin/buildpipeline/BuildPipelineView/toggle-build-details.js b/src/main/resources/au/com/centrumsystems/hudson/plugin/buildpipeline/BuildPipelineView/toggle-build-details.js
index b8c6e241..52da9aa0 100644
--- a/src/main/resources/au/com/centrumsystems/hudson/plugin/buildpipeline/BuildPipelineView/toggle-build-details.js
+++ b/src/main/resources/au/com/centrumsystems/hudson/plugin/buildpipeline/BuildPipelineView/toggle-build-details.js
@@ -1,5 +1,5 @@
// show/hide build details
-jQuery(function() {
+jQuery(document).ready(function() {
jQuery(".header").click(function() {
var parent = jQuery(this).parent();
var ba = parent.find(".build-actions");