Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

http://FlexFeployServer:7003/flexdeploy

Qualified Project PathYesThe fully qualified path to a project in FlexDeploy

/FlexDeploy/Folder1/App1/Project1

Environment CodeYesThe code for the environment to build this project in

DEV01

CredentialsYesChoose to either use the Credentials plugin, or use a Username and Password

N/A

Test Connection ButtonNoValidate 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 FlexDeployNoCheck this box to wait for the FlexDeploy workflow to complete. If the workflow fails, the Jenkins project will also fail.
InputsNoDefine any workflow inputs you have configured. The Value field can handle environment variables such as BUILD_NUMBER.
FlexFieldsNoDefine any build FlexFields you have configured. The Value field can handle environment variables such as BUILD_NUMBER.