jenkins-plugin-runtime 0.1.14 → 0.1.15
Sign up to get free protection for your applications and to get access to all the features.
@@ -31,8 +31,10 @@ module Jenkins
|
|
31
31
|
end
|
32
32
|
|
33
33
|
def getGlobalConfigPage
|
34
|
-
|
35
|
-
|
34
|
+
# TODO: use Descriptor.getPossibleViewNames() that's made protected in 1.441 when it gets released
|
35
|
+
base = "/#{name_to_path}/global"
|
36
|
+
[base+".erb",base+".haml"].find { |n|
|
37
|
+
self.class.java_class.class_loader.getResource(n)
|
36
38
|
}
|
37
39
|
end
|
38
40
|
|