What is the Wasted Minutes Tracker plugin and how can it be removed?

Issue

  • What is the true meaning of the Wasted Minutes Tracker plugin?
  • How do I find how many executors I can run at one time?
  • How do I increase its number as needed?
  • It seems all my jobs are run immediately but I still see wasted minutes stacked up. How can I get rid of this?
  • How can I reset the wasted minutes?

Environment

  • Cloud Jenkins
  • CloudBees Jenkins Enterprise

Resolution

This plugin keeps track of the number of minutes “wasted” by all jobs waiting for an executor. If administrators find that the minutes keep stacking up, they can add more capacity. The plugin shows up on the Jenkins dashboard. Every time a build is fired and the job is waiting in the queue for an executor, the amount of time the job wastes waiting for the executor is displayed in the dashboard. At this point, you can add more slaves or use CloudBees DEV@cloud to create new jobs.

ScreenShot2012-06-18at5.38.02PM.png

On DEV@cloud we have a “soft” limit of 10 slave machines building at any one time. If needed we could increase the number.

To remove this go to Manage Jenkins > Manage Plugins and in the Installed tab uncheck the CloudBees Wasted Minutes Tracker Plugin. Restarting Jenkins will remove this plugin.

To reset the wasted minutes, there are two options:
Option 1) Disable the plugin, restart Jenkins, and re-enable the plugining the plugin.
Option 2) If you have access to the groovy script console (Manage Jenkins > Script Console) you can execute com.cloudbees.jenkins.plugins.Tracker.get().reset(); which will reset the wasted minutes without a restart.

Have more questions? Submit a request

0 Comments

Article is closed for comments.