From 9baeae3d247ac63ad21c565a3ce361c2e4eca4a7 Mon Sep 17 00:00:00 2001
From: Dominik Stadler <centic@apache.org>
Date: Thu, 4 May 2017 08:52:44 +0000
Subject: [PATCH] Revert creating a view as part of the Jenkins DSL as it did
 not allow to create the view as part of a folder/sub-view

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1793754 13f79535-47bb-0310-9956-ffa450edef68
---
 jenkins/create_jobs.groovy | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/jenkins/create_jobs.groovy b/jenkins/create_jobs.groovy
index ed7e116620..bd8acc5930 100644
--- a/jenkins/create_jobs.groovy
+++ b/jenkins/create_jobs.groovy
@@ -338,6 +338,8 @@ for more details about the DSL.</b>
     }
 }
 
+/* I tried to put the view into a sub-folder/sub-view, but failed, there are multiple related
+ plugins so this is all a bit confusing :(, see also https://issues.apache.org/jira/browse/INFRA-14002
 dashboardView("P/POI-new") {
     columns {
         status()
@@ -354,13 +356,13 @@ dashboardView("P/POI-new") {
         jacoco()
     }
     description("Jobs related to building/testing Apache POI")
-    filterBuildQueue(true)
+    filterBuildQueue(false)
     filterExecutors(false)
 
     // Job selection
-    jobs {
-        regex(/.*POI.*/)
-    }
+    jobs {*/
+        //regex(/.*POI.*/)
+    /*}
 
     // Layout
     topPortlets {
@@ -378,4 +380,4 @@ dashboardView("P/POI-new") {
         testStatisticsGrid()
         buildStatistics()
     }
-}
+}*/