Branch: refs/heads/master
  Home:   https://github.com/jenkinsci/groovy-plugin
  Commit: 8fd0e7ebc98d7b0d14af0438087521f3732b78b8
      
https://github.com/jenkinsci/groovy-plugin/commit/8fd0e7ebc98d7b0d14af0438087521f3732b78b8
  Author: Oliver Gondža <ogon...@gmail.com>
  Date:   2016-01-05 (Tue, 05 Jan 2016)

  Changed paths:
    M src/main/java/hudson/plugins/groovy/GroovyInstallation.java
    M src/main/java/hudson/plugins/groovy/GroovyTokenMacro.java
    M src/main/java/hudson/plugins/groovy/SystemGroovy.java
    M src/main/resources/hudson/plugins/groovy/GroovyTokenMacro/help.jelly

  Log Message:
  -----------
  Do not rely on deprecated API


  Commit: e4256987bd844ed66ca316921504f2b49f701aea
      
https://github.com/jenkinsci/groovy-plugin/commit/e4256987bd844ed66ca316921504f2b49f701aea
  Author: Oliver Gondža <ogon...@gmail.com>
  Date:   2016-01-05 (Tue, 05 Jan 2016)

  Changed paths:
    M src/main/resources/hudson/plugins/groovy/Groovy/config.jelly
    M src/main/resources/hudson/plugins/groovy/SystemGroovy/config.jelly

  Log Message:
  -----------
  Use unambiguous reference to descriptor.

Used to fail when smartfrog plugin was installed:

```
2016-01-04 06:39:54,527 WARNING [hudson.ExpressionFactory2$JexlExpression] 
(Handling GET /MY_JOB/configure : ajp-127.0.0.1-8009-40 Job/configure.jelly 
Project/configure-entries.jelly Groovy/DescriptorImpl/config.jelly) Caught 
exception evaluating: app.getDescriptorByName('StringScriptSource') in 
/MY_JOB/configure. Reason: java.lang.IllegalArgumentException: 
StringScriptSource is ambiguous; matches both 
builder.smartfrog.StringScriptSource and 
hudson.plugins.groovy.StringScriptSource
java.lang.IllegalArgumentException: StringScriptSource is ambiguous; matches 
both builder.smartfrog.StringScriptSource and 
hudson.plugins.groovy.StringScriptSource
  at jenkins.model.Jenkins.getDescriptor(Jenkins.java:1129)
  at jenkins.model.Jenkins.getDescriptorByName(Jenkins.java:1140)
  ...
```


Compare: 
https://github.com/jenkinsci/groovy-plugin/compare/56a0d66bfb21...e4256987bd84

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-commits+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to