Managed Script Plugin

Skip to end of metadata
Go to start of metadata

Plugin Information

Plugin ID managed-scripts Changes In Latest Release
Since Latest Release
Latest Release
Latest Release Date
Required Core
1.1.1 (archives)
Dec 05, 2013
token-macro (version:1.6)
config-file-provider (version:2.0)
Source Code
Issue Tracking
Open Issues
Dominik Bartholdi (id: imod)
Usage Installations 2014-Feb 963
2014-Mar 996
2014-Apr 1032
2014-May 1069
2014-Jun 1115
2014-Jul 1210
2014-Aug 1240
2014-Sep 1332
2014-Oct 1373
2014-Nov 1375
2014-Dec 1421
2015-Jan 1517

Managed scripts are shell scripts which are managed centrally by an administrator and can be referenced as a build step within jobs.


The scripts are managed by the Config File Provider Plugin, go to the "Manage Jenkins" screen and click on the "Managed files" item.

After installing the "Managed Scripts" plugin, you have a new option to create a managed script in the type list.

Now you get to the screen to create your script. You're able to give it a name and a small description. In addition, you have the option to define a list of arguments you want to inform the users about. These arguments will be shown to the user as a hint and within the script you're able to reference these as if you would pass in arguments on the command line ($1, $2,...). Every environment variable from within a build will be visible to the script, too. 

Within the job, a user is able to select the required script from a drop-down menu. The defined parameters are shown in respect to the selected script. The link enables the user to have a read-only look at the script.

Version History

1.1.2 (July 18, 2014)

  • integrate PR #4  set codemirror mode based on shebang line (thanks to domruf)
  • integrate PR #3 correct spelling mistake (thanks to stevehollaar)

1.1.1 (Dec. 12, 2013)

  • integrate pull #2: show script argument labels (thanks to Ann Campbell)

1.1 (May 19, 2013)

1.0.2 (March 10, 2013)

1.0.1 (Oct 11, 2012)

  • fix issue when Jenkins is running with a different root context - details of scripts could not be opened

1.0 (15. April 2012)

  • New Feature JENKINS-12365: Add support for managed .bat scripts for Windows

0.2.0 (20. Jan. 2012)

0.1.0 (31. Dec. 2011)

0.0.1 (10. Nov. 2011)

  • initial

Help and Support

For Help and support please use the Jenkins Users mailing list.
The comment list below is not monitored.


plugin-builder plugin-builder Delete
file-provider file-provider Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

Add Comment