downloadService.post('org.jenkinsci.plugins.scriptler.CentralScriptJsonCatalog',{"list": [ { "authors": [{"name": "EJ Ciramella"}], "comment": "This script will warn the user if any jobs have dependencies on other jobs and the trigger flow is a loop.", "core": "1.300", "name": "Warn if looped triggers", "parameters": [], "script": "warn-if-looped-triggers.groovy" }, { "authors": [{"name": "EJ Ciramella"}], "comment": "This script came about because there were many jobs that were both scheduled to run @midnight AND were polling the scm truth server. Doing one or the other makes sense, but having polling AND @midnight doesn't. This script will iterate over all the projects and pull out the timer based trigger as well as set the minute interval for how often it should poll. Initially, I used this to move from a really slopply written polling interval string to */5 (run every 5 minutes).", "core": "1.300", "name": "Trigger Manipulator", "parameters": [], "script": "trigger-manipulator.groovy" }, { "authors": [{"name": "Andrew Bayer"}], "comment": "Runs the log rotator for each job, purging old builds if needed.", "core": "1.409", "name": "Purge Old Builds", "parameters": [], "script": "purgeOldBuilds.groovy" }, { "authors": [ { "email": "Andrei.Pozolotin@gmail.com", "name": "Andrei Pozolotin" }], "comment": "returns reverse sorted git tag list, assuming X.Y.Z version format in the tag; for use with https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+Dynamic+Parameter+Plug-in", "core": "1.450", "name": "Barchart : Git Tag List", "parameters": ["paramTag"], "script": "barchartGitTagList.groovy" }, { "authors": [{"name": "Niels Harremoes"}], "comment": "If you accidently trigger a lot of unneeded builds, it is useful to be able to cancel<\/b> them all", "core": "1.300", "name": "Clear build queue", "parameters": [], "script": "clearBuildQueue.groovy" }, { "authors": [{"name": "Andy Pemberton"}], "comment": "Shows the total number of nodes and executors on Jenkins", "core": "1.350", "name": "Count executors", "parameters": [], "script": "countExecutors.groovy" }, { "authors": [ {"name": "thosor"}, {"name": "AVee"} ], "comment": "Batch switch svn jobs to a different branch. JobFilter and URL filter are regular expression to select Job/SVN urls to replace. newBranch is the new value to set, oldBranch is the expression to replace (defaults to '/branches/[^/]* /' which replaces the url part after branches. No actual changes will be made unless applyChanges is set to 'true'", "core": "1.499", "name": "svnChangeBranch", "parameters": [ "jobFilter", "urlFilter", "newBranch", "oldBranch", "applyChanges" ], "script": "svnChangeBranch.groovy" }, { "authors": [{"name": "Andrew Bayer"}], "comment": "Find all jobs with names matching the given pattern and either disables or enables them, depending on the flag.", "core": "1.409", "name": "Disable/Enable Jobs Matching Pattern", "parameters": [ "jobPattern", "disableOrEnable" ], "script": "disableEnableJobsMatchingPattern.groovy" }, { "authors": [{"name": "EJ Ciramella"}], "comment": "This script will go through all workspaces for any/all jobs and remove them.", "core": "1.300", "name": "Workspace Cleaner", "parameters": [], "script": "workspace-cleaner.groovy" }, { "authors": [{"name": "Julien Carsique"}], "comment": "Activate the Jira plugin<\/a> publisher", "core": "1.424", "name": "Jira issue update publisher", "parameters": [ "dryRun", "jobs", "jobsPattern" ], "script": "jira-publisher.groovy" }, { "authors": [{"name": "Andrew Bayer"}], "comment": "For a given job and a given range of possible build numbers, delete those builds.", "core": "1.409", "name": "Bulk Delete Builds", "parameters": [ "jobName", "buildRange" ], "script": "bulkDeleteBuilds.groovy" }, { "authors": [{"name": "EJ Ciramella"}], "comment": "This script will make sure ALL of your maven jobs are triggered by builds on any snapshot dependencies. There is a basic example of how to exclude jobs by name in the top of this script.", "core": "1.300", "name": "Trigger via Snapshot", "parameters": [], "script": "trigger-via-snapshot-deps.groovy" }, { "authors": [{"name": "Eric Dalquist"}], "comment": "Update Email Recipients for multiple jobs/views", "core": "1.409", "name": "Update Email Recipients", "parameters": [ "views", "jobs", "recipients" ], "script": "updateEmailAddress.groovy" }, { "authors": [ {"name": "Stefan Heintz"}, {"name": "Nico Mommaerts"} ], "comment": "Show an overview of all labels defined and which slaves have which labels", "core": "1.300", "name": "Show labels overview", "parameters": [], "script": "show-labels-overview.groovy" }, { "authors": [{"name": "Gareth Bowles"}], "comment": "Disable jobs that haven't had a successful build for at least 90 days.", "core": "1.409", "name": "Disable Broken Jobs", "script": "disableBrokenJobs.groovy" }, { "authors": [{"name": "EJ Ciramella"}], "comment": "This script was written to create NEW jobs based on a series of other jobs and append a version string to the name of the job. For instance, if you have foo, bar, bat jobs AND they've all been branched to support 2.0 work, you can feed this script the name and the version you'd like to create the jobs for. This will create the new jobs with the proper name and will make sure the Mercurial scm configuration is pointed at that new branch.", "core": "1.300", "name": "Clone Branches", "parameters": [], "script": "clonebranches.groovy" }, { "authors": [{"name": "Eric Dalquist"}], "comment": "Add jabber notifications to the specified jobs", "core": "1.409", "name": "Add Jabber Notification", "parameters": [ "views", "jobs", "targets", "strategy", "notifyOnBuildStart", "notifySCMCommitters", "notifySCMCulprits", "notifyUpstreamCommitters", "notifySCMFixers" ], "script": "addJabberNotification.groovy" }, { "authors": [{"name": "Vincent Dupain"}], "comment": "This script will go through all workspaces for all jobs and wipe them.", "core": "1.499", "name": "Wipeout Workspace", "parameters": ["dryRun"], "script": "wipeout-workspace.groovy" }, { "authors": [{"name": "Giacomo Boccardo"}], "comment": "If for any reason (e.g., an incorrect global configuration) many builds of many jobs fail, you'd have to spend a lot of time cleaning them. This plugin removes, for each job, all the builds to the last successful and resets the number of the next build properly (lastSuccessful+1). It seems to work also for multi-configuration multi-module maven projects. It's possible to conduct a dry run test using a parameter (default true) you could never guess;)", "name": "Maven Multi-module Jobs Disaster Recovery", "parameters": ["dryRun"], "script": "jMavenMultiModuleJobsDisasterRecovery.groovy" }, { "authors": [{"name": "Wisen Tanasa"}], "comment": "Hashify all SCM triggers. See JENKINS-17311.", "core": "1.511", "name": "Hashify All SCM Triggers", "parameters": ["dry"], "script": "hashifyAllScmTriggers.groovy" }, { "authors": [ {"name": "Mestachs"}, {"name": "Dominik Bartholdi"} ], "comment": "This script disables artifact archiving for maven projects, if you use an enterprise repository this rarely usefull.", "core": "1.350", "name": "Disable Maven Artifact Archiving", "parameters": ["dryRun"], "script": "disableAutomaticMavenArchiving.groovy" }, { "authors": [{"name": "Giacomo Boccardo"}], "comment": "Removes all the builds (modules included) of a given Maven Multi-module Project job ('jobName') and resets the number of the next build to 'newNextBuildNumber' (default 1). It's possible to conduct a dry run test using a parameter (default true) you could never guess ;)", "name": "Maven Multi-Module Project Batch Builds Remover", "parameters": [ "jobName", "newNextBuildNumber", "dryRun" ], "script": "jMavenMultiModuleProjectBuildsCleaner.groovy" }, { "authors": [ {"name": "Mestachs"}, {"name": "Dominik Bartholdi"} ], "comment": "Changes the config of the builds to disgard old builds (only if no log rotation is configured).", "core": "1.350", "name": "Disgard old builds", "parameters": [ "dryRun", "daysToKeep", "numToKeep", "artifactDaysToKeep", "artifactNumToKeep" ], "script": "discardOldBuilds.groovy" }, { "authors": [{"name": "ITO Hayato"}], "comment": "put disk usage info and check used percentage.", "core": "1.300", "name": "Check Disk Usage", "parameters": [ "root", "threshold" ], "script": "checkDiskUsage.groovy" }, { "authors": [{"name": "Thomas Froehlich - mail@thomas-froehlich.net"}], "comment": "Reload the job config of a specific job.", "core": "1.300", "name": "reload job config", "parameters": [], "script": "reloadJobConfig.groovy" }, { "authors": [{"name": "Daniel PETISME "}], "comment": "Export the permissions defined in the role-strategy plugin<\/a> in a CSV format.
Further information in the ticket
JENKINS-8075<\/a>", "core": "1.424.2", "name": "Export role-strategy permissions to CSV", "parameters": [], "script": "export-role-strategy-permissions-to-csv.groovy" }, { "authors": [{"name": "EJ Ciramella"}], "comment": "This script came about because there were many jobs that were disabled and interlaced between active jobs in the hundreds. If you don't want to set up a new view that lists out just the disabled (or never run) jobs, this is a quick fix that will provide counts at the end of the run.", "core": "1.300", "name": "List Disabled Jobs", "parameters": [], "script": "listdisabledjobs.groovy" }, { "authors": [{"name": "Gareth Bowles"}], "comment": "Find offline slaves with a given name prefix.", "core": "1.409", "name": "Find Offline Slaves", "parameters": ["namePrefix"], "script": "findOfflineSlaves.groovy" } ]})