ghale / gradle-jenkins-plugin

Gradle plugin to programmatically configure Jenkins jobs.
123 stars 42 forks source link

1.3.3 Upgrade Exception: No signature of method: ..getPluginVersion() #86

Open watchwithmike opened 7 years ago

watchwithmike commented 7 years ago

Having just upgraded from 1.3.2 to 1.3.3 I'm now getting the following error when I attempt to build:

(MapJobManagement.groovy, line 55) No signature of method: com.terrafolio.gradle.plugins.jenkins.jobdsl.MapJobManagement.getPluginVersion() is applicable for argument types: (java.lang.String) values: [gradle]

This occurs when the following line is encountered in my build.gradle

dsl fileTree('job-dsls').include('*.gradle')

I've create a stripped down repository that reproduces the issue: https://github.com/watchwithmike/gradle-jenkins-include

Just running gradle from that directory illustrates the problem.

This configuration is based on one of the last examples in the DSL Configuration section of the wiki. Are there revisions that need to be made here?