diff --git a/core/src/main/java/hudson/Functions.java b/core/src/main/java/hudson/Functions.java index 39a58bbcb2..382b014111 100644 --- a/core/src/main/java/hudson/Functions.java +++ b/core/src/main/java/hudson/Functions.java @@ -34,6 +34,8 @@ import java.util.List; import java.util.Map; import java.util.SortedMap; import java.util.TreeMap; +import java.util.Collection; +import java.util.Collections; import java.util.logging.LogRecord; import java.util.logging.SimpleFormatter; import java.lang.management.ManagementFactory; @@ -514,4 +516,8 @@ public class Functions { sb.append('\n'); return sb.toString(); } + + public static Collection emptyList() { + return Collections.emptyList(); + } } diff --git a/core/src/main/resources/hudson/matrix/MatrixProject/index.jelly b/core/src/main/resources/hudson/matrix/MatrixProject/index.jelly index e0095dc73d..ec5dc6cc44 100644 --- a/core/src/main/resources/hudson/matrix/MatrixProject/index.jelly +++ b/core/src/main/resources/hudson/matrix/MatrixProject/index.jelly @@ -1,87 +1,18 @@ - - - - - - ${attrs.title} - - - - +

Project ${it.name}

- - - - -

Configurations

-
    - -
  • - - - - - - - - -
  • -
    -
-
- -

Configuration Matrix

- - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - ${v}
${r.drawYHeader(loop.index)} - - - - - -
    - -
  • -
    -
-
-
-
- -
-
+ + + + + ${p.combination.toString(o.z)} + + +
diff --git a/core/src/main/resources/lib/hudson/project/matrix.jelly b/core/src/main/resources/lib/hudson/project/matrix.jelly new file mode 100644 index 0000000000..009173063b --- /dev/null +++ b/core/src/main/resources/lib/hudson/project/matrix.jelly @@ -0,0 +1,61 @@ + + + + + + +

Configurations

+ + + + +
+ +

Configuration Matrix

+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + ${v}
${r.drawYHeader(loop.index)} + + +
+ +
+
+
+
+ +
+
+
\ No newline at end of file