diff --git a/src/main/resources/au/com/centrumsystems/hudson/plugin/buildpipeline/extension/PipelineHeaderExtension/columnHeader.jelly b/src/main/resources/au/com/centrumsystems/hudson/plugin/buildpipeline/extension/PipelineHeaderExtension/columnHeader.jelly
index 54399419..472c545c 100644
--- a/src/main/resources/au/com/centrumsystems/hudson/plugin/buildpipeline/extension/PipelineHeaderExtension/columnHeader.jelly
+++ b/src/main/resources/au/com/centrumsystems/hudson/plugin/buildpipeline/extension/PipelineHeaderExtension/columnHeader.jelly
@@ -27,11 +27,14 @@
|
-
+
+
+
+
+
+
+
+
diff --git a/src/main/resources/au/com/centrumsystems/hudson/plugin/buildpipeline/extension/PipelineHeaderExtension/pipeline-column-headers.js b/src/main/resources/au/com/centrumsystems/hudson/plugin/buildpipeline/extension/PipelineHeaderExtension/pipeline-column-headers.js
new file mode 100644
index 00000000..7c8bfa65
--- /dev/null
+++ b/src/main/resources/au/com/centrumsystems/hudson/plugin/buildpipeline/extension/PipelineHeaderExtension/pipeline-column-headers.js
@@ -0,0 +1,13 @@
+window.addEventListener("DOMContentLoaded", () => {
+ const projectDataHolders = document.querySelectorAll(".ch-project-data-holder");
+
+ projectDataHolders.forEach(dataHolder => {
+ const { projectId, proxyName, projectJson } = dataHolder.dataset;
+
+ buildPipeline.projectProxies[projectId] = window[proxyName];
+
+ const projectElement = document.getElementById("project-" + projectId);
+ const projectData = JSON.parse(projectJson);
+ projectElement.innerHTML = buildPipeline.projectCardTemplate(projectData);
+ });
+});
|