Turn Your Vehicle Into a Smart Earning Asset

While youโ€™re not driving your car or bike, it can still be working for you. MOTOSHARE helps you earn passive income by connecting your vehicle with trusted renters in your city.

๐Ÿš— You set the rental price
๐Ÿ” Secure bookings with verified renters
๐Ÿ“ Track your vehicle with GPS integration
๐Ÿ’ฐ Start earning within 48 hours

Join as a Partner Today

Itโ€™s simple, safe, and rewarding. Your vehicle. Your rules. Your earnings.

How to disable/Uninstalling Jenkins a plugin when Jenkins is down using command line?

Issue

  • A plugin is preventing Jenkins to restart
  • I need to disable a plugin and Jenkins is down

How to Uninstall a jenkins plugin using command line?
Uninstalling a plugin removes the plugin binary (*.jpi or *.hpi) from the disk. The plugin continues to function normally until you restart Jenkins, but once you restart, Jenkins will behave as if you didn’t have the plugin to being with.

Uninstalling a plugin, however, does not remove the configuration that the plugin might have created. If you want to scrab the configuration left by uninstalled plugins, go to “Manage Jenkins” and click “Manage Old Data”.

How to disable a jenkins plugin using command line?
To disable a plugin via File System, create a file like .jpi.disabled inside the $JENKINS_HOME/plugins folder. For example, to disable Green balls plugin, run:

$ touch $JENKINS_HOME/plugins/greenballs.jpi.disabledCode language: PHP (php)

Plugins that are disabled can be re-enabled from the UI (or by removing *.jpi.disabled (or *.hpi.disabled) file from the disk.)

Reference
https://support.cloudbees.com/hc/en-us/articles/204323074-How-to-disable-a-plugin-when-Jenkins-is-down-
https://wiki.jenkins.io/display/JENKINS/Removing+and+disabling+plugins

Certification Courses

DevOpsSchool has introduced a series of professional certification courses designed to enhance your skills and expertise in cutting-edge technologies and methodologies. Whether you are aiming to excel in development, security, or operations, these certifications provide a comprehensive learning experience. Explore the following programs:

DevOps Certification, SRE Certification, and DevSecOps Certification by DevOpsSchool

Explore our DevOps Certification, SRE Certification, and DevSecOps Certification programs at DevOpsSchool. Gain the expertise needed to excel in your career with hands-on training and globally recognized certifications.