Jenkins Plugin
The Jenkins plugin allows users to associate an entity with one or more Jenkins jobs. Users can easily view the status of current builds linked or related to the entity. The plugin also provides direct access to Jenkins, allowing users to open and run specific jobs from there directly.
Configuring the Jenkins Plugin in Venue.sh
-
In the Venue.sh app, click Plugins in the left-side navigation.
-
Find Jenkins, then click Enable Plugin.
-
Enter the Base URL value for the Jenkins instance.
-
Enter the Username value, which is the username used to log into Jenkins.
-
Enter the API Key value.
tipTo generate an API key in Jenkins:
- Log in to Jenkins as an administrator.
- Navigate to Manage Jenkins > Manage Users.
- Select a user to generate an API key for.
- On the configuration page, click Add new token.
- Copy the new API token.
- Click save.
-
Click Validate & Enable.
Using Jenkins in the Venue.sh Catalog
Once the Jenkins plugin is configured and enabled in Venue.sh, follow these steps to edit an existing catalog entry to enable Jenkins jobs:
-
Navigate to the Catalog, and select a component to edit.
-
In the component About section, click Edit.
-
In the Optional metadata section, click Toggle optional fields, then select Jenkins.
The Jenkins Job Full Name text bar appears on the screen.
-
Add a valid Jenkins job in the text box.
noteYou can add multiple Jenkins jobs if separated by a comma.
-
Click Save changes.
Once the changes save to the database, a new Jenkins tab appears on the component page, from which you can view build details.