FlexDeploy offers integration with Jenkins via a pair of plugins; one for FlexDeploy, and one for Jenkins.
Info |
---|
For a quick guide on configuring these plugins and using them together, check out the Getting Started with the Jenkins Plugin |
...
page. You can invoke Jenkins from FlexDeploy using shell plugin(s), see Invoking Jenkins job from command line for quick reference. If you are looking to migrate Jenkins jobs to FlexDeploy, see Migrate Jenkins job to FlexDeploy. |
The FlexDeploy Plugin
The FlexDeploy Jenkins Plugin offers the ability to get an from a completed Jenkins build and put it into the FlexDeploy artifact repository. Once the artifact is brought into FlexDeploy, we can use it in any project build or deployment.
The plugin is further documented in our the FlexDeploy Jenkins Plugin Guides sectionGuide.
The Jenkins Plugin
The Jenkins plugin can be downloaded from here.
This plugin for Jenkins runs as a post-build step that can build a project in FlexDeploy. This provides the ability to start a build in FlexDeploy after completing a job or project in Jenkins.
Plugin Inputs
Input Name | Required | Description | Example |
---|---|---|---|
FlexDeploy URL | Yes | The URL of FlexDeploy running on a server |
|
Qualified Project Path | Yes | The fully qualified path to a project in FlexDeploy |
|
Environment Code | Yes | The code for the environment to build this project in |
|
Credentials | Yes | Choose to either use the Credentials plugin, or use a Username and Password |
|
Test Connection Button | No | Validate your connection to FlexDeploy. This will validate both the FlexDeploy URL, and the credentials you chose. | N/A |
Advanced
Input Name | Required | Description |
---|---|---|
Stream Name | Yes | The name of the stream to build in. Default value is 'trunk' |
Wait for FlexDeploy | No | Check this box to wait for the FlexDeploy workflow to complete. If the workflow fails, the Jenkins project will also fail. |
Inputs | No | Define any workflow inputs you have configured. The Value field can handle environment variables such as BUILD_NUMBER . |
FlexFields | No | Define any build FlexFields you have configured. The Value field can handle environment variables such as BUILD_NUMBER . |