Hey guys,
I'm trying to find out how I change the Subversion workspace format defined by the SubversionSCM plugin with a Groovy script?
This is what the plugin stores as configuration:
<?xml version='1.0' encoding='UTF-8'?>
<hudson.scm.SubversionSCM_-DescriptorImpl plugin="subve...@1.54">
<generation>1</generation>
<credentials class="hashtable"/>
<workspaceFormat>10</workspaceFormat>
<validateRemoteUpToVar>false</validateRemoteUpToVar>
<storeAuthToDisk>true</storeAuthToDisk>
</hudson.scm.SubversionSCM_-DescriptorImpl>
I can query the value with this snippet:
Jenkins.instance.getDescriptorByName("hudson.scm.SubversionSCM").getWorkspaceFormat()
But I don't seem to find a way to change it? I set a bunch of other options in the core and other plugins by using the descriptors but no cigar here.
Any suggestions?
Greets,
Nico