https://github.com/jenkinsci/managed-scripts-plugin
Jenkins plugin which allows the central configuration of scripts, these scripts can be reused as build steps in every job.
https://github.com/jenkinsci/managed-scripts-plugin
adopt-this-plugin
Last synced: 8 months ago
JSON representation
Jenkins plugin which allows the central configuration of scripts, these scripts can be reused as build steps in every job.
- Host: GitHub
- URL: https://github.com/jenkinsci/managed-scripts-plugin
- Owner: jenkinsci
- Fork: true (imod/managed-scripts-plugin)
- Created: 2011-11-10T19:35:43.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2023-02-20T06:07:48.000Z (over 3 years ago)
- Last Synced: 2024-09-30T08:56:08.356Z (over 1 year ago)
- Topics: adopt-this-plugin
- Language: Java
- Homepage: https://plugins.jenkins.io/managed-scripts/
- Size: 336 KB
- Stars: 18
- Watchers: 100
- Forks: 23
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
Managed Scripts plugin for Jenkins
======================
[](https://ci.jenkins.io/blue/organizations/jenkins/Plugins%2Fmanaged-scripts-plugin/branches/)
[](https://plugins.jenkins.io/managed-scripts)
[](https://github.com/jenkinsci/managed-scripts-plugin/releases/latest)
[](https://plugins.jenkins.io/managed-scripts)
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](https://plugins.jenkins.io/config-file-provider/), 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.

#### builds are currently executed on:
* [jenkins ci](https://ci.jenkins.io/blue/organizations/jenkins/Plugins%2Fmanaged-scripts-plugin/)