Re: message "You have data stored in an older format and/or unreadable data." after Groovy init script

2018-10-01 Thread Vincent Latombe
Seems to be caused by some weird logic in this class if there is no configuration yet. https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/jenkins/model/JenkinsLocationConfiguration.java#L67-L83 So it means you don't have any configuration set for

message "You have data stored in an older format and/or unreadable data." after Groovy init script

2018-09-28 Thread Jeroen Wolff
Hi all, I've got an init.d/ groovy script to configure the mailer task: import jenkins.model.* def jenkinsInst = Jenkins.getInstance() def mailerDesc = jenkinsInst.getDescriptor("hudson.tasks.Mailer"); mailerDesc.setSmtpHost("smtp.domain.com") mailerDesc.setUseSsl(false)