jenkins-plugin-runtime 0.1.14 → 0.1.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -31,8 +31,10 @@ module Jenkins
31
31
  end
32
32
 
33
33
  def getGlobalConfigPage
34
- "/#{name_to_path}/global".tap { |path|
35
- puts "getGlobalConfigPage -> #{path}"
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
 
@@ -1,7 +1,7 @@
1
1
  module Jenkins
2
2
  class Plugin
3
3
  module Runtime
4
- VERSION = "0.1.14"
4
+ VERSION = "0.1.15"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: jenkins-plugin-runtime
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.14
5
+ version: 0.1.15
6
6
  platform: ruby
7
7
  authors:
8
8
  - Charles Lowell