Plugin Information
Perform mass configuration of select project properties, including email, timer, discard old builds, and Maven configuration. The plugin shows up in Jenkins' UI on the Manage Jenkins page - seen here near the bottom of the page: The main page of the configuration slicing plugin shows all the properties that can be sliced - select one and you are presented with a screen showing how that value is set across the entire Jenkins instance. Many properties on Jenkins projects are useful to set this way, but the configuration slicing plugin can handle properties on any collection, such as slaves, or builds of a project. The following functions are supported
Boolean slicingIn the case of booleans, the plugin presents a set of checkboxes and names. The user can then adjust that property and save the changes.
String slicingMost of the slicing uses a GUI much like the following example. You can move the Item Names (i.e. Jobs) around within the boxes on the right to change which jobs have different settings. You can also alter the values on the left to change how jobs are configured. There will always be a blank set of boxes added to the bottom to allow you to create a new setting when you need it. For most of these screens, a value of "(Disabled)" will indicate that those jobs do not use this configuration at all. To disable jobs (e.g. for SCM Polling), move those job names into that "(Disabled)" box.
String slicing multiple valuesSome slicers allow you to configure multiple values at a time. In those cases, the values are separated by a comma, and follow the given example.
String slicing multiple BuildersFor the Windows batch builder, Shell builders, and "Top-level Maven targets", a job can have multiple builders of each type. To configure jobs like this, you will be presented with an index next to the jobs names like "MyJob[0]" and "MyJob[1]". The index indicates which instance of the builder you are configuring.
This is available under these links
Configuring parameters across multiple jobsJob Parameters (aka "This build is parameterized") can be configured across multiple jobs at one time through the "Parameters" link. To indicate which parameter you are configuring, note the "JobName[ParameterName]" syntax.
Slicing by ViewIf you have many jobs, it can be difficult to perform the configuration slicing. To make it more granular, you can configure just the jobs within one view. Assuming you have organized your Jenkins installation to have useful views, this will allow you to configure jobs at the right granularity. To use this feature, first select the type of configuration (in this example "Custom Workspace") and then you will be given a list of views to choose from. You don't have to choose a view, as the default is to show all jobs. If you select one of the views on the left, your list of jobs is filtered down to just the jobs in that view.
Email Notifications and Editable Email Notifications (from 1.41 on)When editing recipient lists, Email notifications are only completely disabled when set to (Disabled). Setting a empty recipient list leaves existing email notifications to committers (Checkbox "Notify individuals who broke the build") in place. ChangelogVersion 1.41 - May 31, 2015
Version 1.40 - November 15, 2014Fix bugs related to selection of maven modules or matrix configurations instead of top level project items: Version 1.39 - October 4, 2014
Version 1.38.3 - October 3, 2013
Version 1.37.1 - Sept 30, 2013
Version 1.37 - June 4, 2013
Version 1.36 - October 28, 2012
Version 1.35 - October 27, 2012
Version 1.33 - Sept 19, 2012
Version 1.32 - July 14, 2012
Version 1.31 - May 22, 2012
Version 1.30 - May 20, 2012
Version 1.29 - May 18, 2012
Version 1.28.1 - December 24, 2011
Version 1.27 - November 28, 2011
Version 1.26 - November 24, 2011
Version 1.25 - November 9, 2011
Version 1.24 - October 26, 2011
Version 1.23 - October 13, 2011
Version 1.22 - October 6, 2011
Version 1.21 - September 22, 2011
Version 1.20 - August 24, 2011
Version 1.19 - July 22, 2011
Version 1.18 - July 2011
Version 1.17 - July 2011
Version 1.15 - January 22, 2010
Version 1.14 - January 16, 2010
Version 1.13 - January 15, 2010
Version 1.12 - attempted January 15, 2010 - never releasedVersion 1.11 - attempted January 15, 2010 - never releasedVersion 1.10 - attempted November 2, 2009 and January 15, 2010 - never releasedVersion 1.9 - July 29, 2009
Version 1.8 - attempted July 22, 2009 - never releasedVersion 1.7 - attempted July 22, 2009 - never releasedVersion 1.6 - attempted July 21, 2009 and July 22, 2009 - never releasedVersion 1.5 - July 21, 2009
Version 1.4 - attempted April 9, 2009 - never releasedVersion 1.3 - attempted April 9, 2009 - never releasedVersion 1.2 - March 16, 2009
Version 1.1 - attempted March 16, 2009 - never releasedVersion 1.0 - attempted March 16, 2009 - never released |
Configuration Slicing Plugin
Skip to end of metadata
Go to start of metadata








Comments (27)
Jul 16, 2010
mark1900 - says:
I have installed the Hudson Continuous Integration game plugin, which results in...I have installed the Hudson Continuous Integration game plugin, which results in every project getting the checkbox boolean property to enable or disable the "Continuous Integration game". How would I use this "Configuration Slicing Plugin" to tick this "Continuous Integration game" checkbox for every project?
Feb 14, 2010
jminne - says:
To upgrade from 1.9 on linux I had to delete the ConfigurationSlicing files from...To upgrade from 1.9 on linux I had to delete the ConfigurationSlicing files from the plugin directory. II thought this info might help some people. This issue sounds like this bug: http://issues.jenkins-ci.org/browse/JENKINS-5013 so I'm not opening a new one.
Feb 26, 2010
Merten Schumann says:
The doc says > It has a framework to make it very easy to add a configuratio...The doc says
> It has a framework to make it very easy to add a configuration page for a new property.
where is the framework? I would like to add a configuration possibility to edit the "E-mail Notification" property ...
May 21, 2012
jswager - says:
Is it possible to "slice" slaves as well as jobs? The ability to change th...Is it possible to "slice" slaves as well as jobs? The ability to change the label names associated with slaves would be a useful extension.
Jun 27, 2012
Zachary Young says:
I do not see this plugin in the Jenkins Plugin Manager. I'm running 1.472 and ha...I do not see this plugin in the Jenkins Plugin Manager. I'm running 1.472 and have been able to find this listed. Am I missing something?
Jul 12, 2012
Jacob Robertson says:
I'm not sure what is causing that. I just downloaded a fresh copy of 1.474 (the...I'm not sure what is causing that. I just downloaded a fresh copy of 1.474 (the very latest) and ran a clean install, and then checked the available plugins, and this plugin was there.
Jul 23, 2012
Nickolay Rumyantsev says:
What is the license of this plugin? MIT?What is the license of this plugin? MIT?
Jul 23, 2012
Jacob Robertson says:
I do not see any licensing information anywhere in the source of this plugin.I do not see any licensing information anywhere in the source of this plugin.
Jul 25, 2012
Nickolay Rumyantsev says:
Is it possible to contribute to this project? I mean to add some new slicers. I...Is it possible to contribute to this project? I mean to add some new slicers.
If it is so how can I do it?
Jul 25, 2012
Jacob Robertson says:
Follow the source code link at the top of the page, and commit code to it. You ...Follow the source code link at the top of the page, and commit code to it. You should be able to figure out how to add new slicers by looking at the existing ones and finding the ones that are most like what you want to do. I see you have a JIRA ticket - just post here or to that ticket whenever you have changes you want me to release in the next version.
Jul 26, 2012
Nickolay Rumyantsev says:
Thanks for informationThanks for information
Aug 06, 2012
Nick Nick says:
Could you make clear about the email-ext slicer: I am able only to change t...Could you make clear about the email-ext slicer: I am able only to change the recipients list with this plugin, isn't I?
Thank you.
Aug 06, 2012
Jacob Robertson says:
That is correct. There is already an open ticket to request more features for t...That is correct. There is already an open ticket to request more features for this.
https://issues.jenkins-ci.org/browse/JENKINS-11774
Aug 07, 2012
Nick Nick says:
I am trying to create my own slicer based on BooleanSlicer. For practicing I hav...I am trying to create my own slicer based on BooleanSlicer. For practicing I have just copied jobdisabled bool slicer into newly created configurationslicing.jobdisabledclone package. The only changes I have made are replacements for slicer URL and slicer title. Unfortunately after compiling and installing plugin to my local Jenkins I dont see new slicer on the slicing page. In addition to cloning jobdisabled bool slicer I also tried to make my own boolean slicer for Workspace Cleanup plugin but stucked at the same obstacle.
I checked the list of loaded extension for Slicer class and didn't see my slicers. I have no idea why is it so because I used an @Extension annotation and also the compilation log shows that my slicer was indexed as Extension.
Could you suggest the solution?
Thank you.
Aug 07, 2012
Jacob Robertson says:
Some things to try - are you sure the behavior of "isLoaded" is correct? are the...Some things to try - are you sure the behavior of "isLoaded" is correct? are the plugins you're trying to slice installed? Add some logging (using java.util.logging API) to check whether the slicers are being loaded. If you post your code I can review it - you can also email it to me if you like.
Aug 07, 2012
Nick Nick says:
Thanks for logging idea - I will try it. As I saw in the code isLoaded me...Thanks for logging idea - I will try it.
As I saw in the code isLoaded method returns true in the BooleanSlicer class. I tried both to override and to leave it.
As I said I have made a clone so only three changes were performed.
This is the full code of clone class. It was placed in proper directory.
Red color marks changes.(three 'clone' words were added)Aug 08, 2012
Jacob Robertson says:
I followed exactly what you did, and I see that slicer showing up when I go to "...I followed exactly what you did, and I see that slicer showing up when I go to "Manage Jenkins > Configuration Slicing". Maybe you could check the .hpi file to see that the new class is really being compiled? Check in your workspace, and also in the plugins directory. Are you doing a clean install? Here is how I do my Jenkins testing - I have a batch file that I always run when I launch a local instance of Jenkins so I know that it contains the clean and newly compiled .hpi file. (I'm on windows)
Aug 13, 2012
Nick Nick says:
Finally I managed to do it. I used to install plugin by plain copying hpi packag...Finally I managed to do it. I used to install plugin by plain copying hpi package into the plugins directory and then restarting Jenkins.
Your phrase about a clean install gave me idea to alter my method. At first - delete old plugin files, then restart Jenkins, then load new hpi file via Jenkins GUI, then restart Jenkins again.
Nov 14, 2012
Frank Merrow says:
I updated hoping the new version would support slicing "Files to archive" under ...I updated hoping the new version would support slicing "Files to archive" under "Archive the artifacts" options.
No luck . . . If you take requests, please add it to your list.
I wish it was easier to add to, but my Maven skills are non-existent and I can only "get by" in Java . . . the discussions above did not enlighten me . . . I'd like to help, but I suspect I'd be a week just setting up the environment . . . seems like the actual programming involved is not that much though . . . maybe something to look at in my spare time on vacation. <wink>
Thanks for a super plugin!!
Frank
Nov 15, 2012
Jacob Robertson says:
Hi Frank. It will be much easier to keep track of your request if you fill out ...Hi Frank. It will be much easier to keep track of your request if you fill out a JIRA ticket. If you follow the links near the top of the page it should be pretty easy to do.
Oct 02, 2013
Yoichi KODAMA says:
I add it to be able to choose SPACE in Choices. For example, I can choose 4 of t...I add it to be able to choose SPACE in Choices. For example, I can choose 4 of the following.
' ' <= SPACE (default. NOT set an optional parameter)
'-t apple' <= (set an optional parameter)
'-t banana' <= (set an optional parameter)
'-t cinnamon' <= (set an optional parameter)
However, SPACE is deleted when I convert it in Parameters. Could you permit SPACE?
I can use String Parameter instead of Choices, but, in String Parameter, I may make a typo, and the input of the keyboard is troublesome.
Thanks!
YK
Oct 02, 2013
Jacob Robertson says:
I created a JIRA ticket for this. I've tested a simple fix, and will look at ge...I created a JIRA ticket for this. I've tested a simple fix, and will look at getting that code into the next release. https://issues.jenkins-ci.org/browse/JENKINS-19855
Oct 22, 2013
Yoichi KODAMA says:
Thank you for fixing it! I confirmed that It works fine with ver. 1.38.3. ...Thank you for fixing it!
I confirmed that It works fine with ver. 1.38.3.
Thanks!
YK
Dec 23, 2013
Arun Shylaja says:
We have a Jenkins with around 80 jobs. I am trying to use 'Timer Trigger Slicer'...We have a Jenkins with around 80 jobs. I am trying to use 'Timer Trigger Slicer', to update the jobschedule time. But when i click save, I am getting the following exception. Please Help..
Feb 10, 2014
Arun Shylaja says:
It is working now.. I think someone upgraded the plugin or jenkins. I wish ...It is working now.. I think someone upgraded the plugin or jenkins. I wish i could know what fixed it.
Jan 31, 2014
Steven Kitchen says:
Unable to Slice build timeout version 1.12.2. build timeout appears to hav...Unable to Slice build timeout version 1.12.2. build timeout appears to have changed it's name to Jenkins build timeout plugin
Mar 12, 2014
Steven Kitchen says:
Still an issue with updates to: build-timeout 1.12.2 configurationsli...Still an issue with updates to:
Add Comment