On Tuesday, March 8, 2022 at 4:44:32 AM UTC-7 Stefan wrote:
> Hi, > > We are using the LST cycle but this gives issues when I try to update > plugins. > My use case: > > Ansible playbook updates the linux server (and jenkins LST if available) > After that I use an ansible playbook to ( > https://github.com/wcm-io-devops/ansible-jenkins-facts) look for plugins > where "hasUpdate = true" and then update the plugin. > > I think you may be using the wrong tool to update your Jenkins plugins. https://www.jenkins.io/blog/2022/02/10/last-plugin-version-not-installable/ describes the same type of failure you're seeing. I think you want to call the plugin installation manager tool <https://github.com/jenkinsci/plugin-installation-manager-tool> to update your plugins. It takes a Jenkins version number as an argument and will not offer a plugin update if the plugin does not support that Jenkins release. Mark Waite -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/6499bd77-7c7a-4008-8bac-c7902efa57d3n%40googlegroups.com.