Giter Club home page Giter Club logo

Comments (5)

matthewbarr avatar matthewbarr commented on May 26, 2024

Right now this isn't implemented at all and would be a bad idea to do blindly.
If you remove a plugin manually, jobs that require that plugin might disappear.

We're looking into using a puppet package provider for Jenkins, but I've got limited time to work on it right now.

Similar to #11 , the remote CLI doesn't allow for removal at all. It might be possible via Groovy. Still not sure what will happen if the job requires a plugin and it's gone. This may allow you to break your Jenkins install.

from puppet-jenkins.

rtyler avatar rtyler commented on May 26, 2024

@php-coder In your mind, should version => absent cause the .jpi file to be removed, should the entries in the config.xml file be removed, and/or should plugin specific settings files be removed as well?

I think @matthewbarr is correct in that removing a plugin might break jobs, but this is no different than unchecking the plugin box in the Plugin Manager (as far as I know).

That said, you reference the "cvs" plugin, which is (IIRC) still a core plugin which can't actually be removed.

from puppet-jenkins.

php-coder avatar php-coder commented on May 26, 2024

@rtyler I expect that plugin removal from puppet works exactly as unchecking the plugin box in the Plugin Manager. Removal of "cvs" plugin was not appropriate example, because it belongs to core, but Plugin Manager allows to deselect it.

from puppet-jenkins.

rtyler avatar rtyler commented on May 26, 2024

@php-coder I can't actually find any indication that disabling a plugin affects anything on disk. An ensure => absent should remove the plugin IMHO, similar to what the "uninstall" button in the UI does.

I think I might punt on ensure => disabled until such a time that I can see what Jenkins does on disk when you check that box.

from puppet-jenkins.

ekohl avatar ekohl commented on May 26, 2024

The code suggests there is code to ensure disabled. You can also purge all plugins, but not ensure absent today.

from puppet-jenkins.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.