-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Jenkins 2.19.2
job-dsl-plugin 1.53
ruby-runtime-plugin 0.12
rvm-plugin 0.6
When a JobDSL job is created using the rvm plugin, it will use the Jenkins::Plugin::Proxies::BuildWrapper ruby class instead of Jenkins::Tasks::BuildWrapperProxy . This is part of an old compatibility fix in job-dsl-core/src/main/groovy/javaposse/jobdsl/dsl/helpers/wrapper/WrapperContext.groovy line 112.
Examination of the ruby-runtime source code for the 0.12 release reveals that it uses the Jenkins::Tasks::BuildWrapperProxy class, like ruby-runtime 0.13 does.
I locally recompiled the job-dsl plugin with the class name hard set to Jenkins::Tasks::BuildWrapperProxy (no plugin check conditional) and verified that the XML generated is properly parsed by Jenkins.
- is related to
-
JENKINS-39193 Unable to use rbenv plugin together with ruby environment plugin
- Closed