-
Bug
-
Resolution: Unresolved
-
Minor
-
Windows 8 32Bit, Jenkins 1.504
Reported Issue:
Jenkins server(v1.504) is installed on a 32-bit Windows 8 machine using the Vault plugin (v1.1.1). In the global configuration settings I have configured a vault installation which points to my vault client executable at “C:\Program Files\SourceGear\Vault Client\vault.exe”.
Everything works great, until I restart the Jenkins server. On restart the “Path to Vault executable” is reset to “C:\Program Files (x86)\SourceGear\Vault Client\vault.exe”. It appears that the setting is not being saved. I peeked into the org.jvnet.hudson.plugins.VaultSCM.xml file and I see an element for the setting but its empty.
Looking into the code I’m assuming the problem is with line 54 of VaultSCMInstallation.java where the vaultLocation variable is declared transient, which is going to make it so it doesn’t get serialized. I’m not a regular Java programmer, so that assumption may be wrong.