Reputation: 365
Using jenkins version 2.277.3
I tried to modify an old jenkins freestyle job configuration and it was not possible to save it after the changes i made as the save and apply buttons doesnt respond and work. Then I tried the same by creating a new freestyle job same thing happened.
Other issue is when a commit is made the pipeline used to get triggered using PollSCM feature. now the pipelines stopped to trigger build on commits. All the configurationss are set properly.
Upvotes: 1
Views: 1691
Reputation: 6842
Upgrade all your plugins and it should work again. An easy way to do this is to create a pipeline job with the following code
import jenkins.model.Jenkins;
pm = Jenkins.instance.pluginManager
uc = Jenkins.instance.updateCenter
updated = false
progress = 0
updates = 0
pm.plugins.each { plugin ->
if (uc.getPlugin(plugin.shortName).version != plugin.version) {
updates = updates + 1
}
}
pm.plugins.each { plugin ->
if (uc.getPlugin(plugin.shortName).version != plugin.version) {
update = uc.getPlugin(plugin.shortName).deploy(true)
println "updating ${plugin.shortName}:${plugin.version} -> ${uc.getPlugin(plugin.shortName)?.version}"
update.get()
progress = progress + 1
updated = true
}
}
if (updated) {
println "${progress}/${pm.plugins.size()} Restarting"
Jenkins.instance.doSafeRestart(null);
}
Upvotes: 1