I am trying to resolve an issue, changes to server name on global settings 
introduces null pointer on jobs.

https://issues.jenkins-ci.org/browse/JENKINS-31316

I cannot find a decent way to introduce safety when changes to global 
settings are changed.

Current code is 
<https://github.com/jenkinsci/accurev-plugin/blob/master/src/main/java/hudson/plugins/accurev/AccurevSCM.java#L466>
        public boolean configure(StaplerRequest req, JSONObject formData) 
throws FormException {
            this._servers = req.bindJSONToList(AccurevServer.class, 
formData.get("server"));
            pollOnMaster = req.getParameter("descriptor.pollOnMaster") != 
null;
            save();
            return true;
        }

Cannot find anything on jelly how to ensure the formdata with a 
unique/identifier.

How would I go about changing the identifier from names to something more 
realiable.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/e3ff0804-39fb-4d58-8043-21f0379cd005%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to