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
Dependencies
1.1.1
Dec 05, 2013
1.458
token-macro (version:1.6)
config-file-provider (version:2.0)
Source Code
Issue Tracking
Maintainer(s)
GitHub
Open Issues
Dominik Bartholdi (id: imod)
Usage Installations 2013-Apr 515
2013-May 571
2013-Jun 604
2013-Jul 719
2013-Aug 700
2013-Sep 742
2013-Oct 815
2013-Nov 817
2013-Dec 803
2014-Jan 867
2014-Feb 963
2014-Mar 996


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

Description

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.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.

Labels

Edit
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