-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Centos 7
Jenkins 2.73
Job DSL 1.64
This happened after upgrading from 1.61, I haven't tried intermediate versions. 1.61 worked.
Simpified code that actually fails:
mavenJob('test-generated-job') { publishers { findbugs('bla') } }
Exception:
ERROR: (script, line 20) No signature of method: javaposse.jobdsl.dsl.helpers.publisher.MavenPublisherContext.addStaticAnalysisContextAndPattern() is applicable for argument types: (groovy.util.NodeBuilder, javaposse.jobdsl.dsl.helpers.publisher.StaticAnalysisContext, java.lang.String) values: [groovy.util.NodeBuilder@790fa77c, javaposse.jobdsl.dsl.helpers.publisher.StaticAnalysisContext@40a6654e, ...]
Note: Only happens in mavenJobs (not matrix, for instance). DSL API Viewer suggests that it should work in mavenJobs as well.
Also, a similar thing happens with:
mavenJob('test-generated-job') {
publishers {
analysisCollector {
...
}
}
}
- is duplicated by
-
JENKINS-46629 Warnings plugin stopped working in mavenJobs (1.63 -> 1.64)
- Closed