Versions Compared

Key

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

...

Table of Contents
maxLevel3
outlinetrue

Jenkins Configuration

Uploading The Plugin

...

First we will need to download the Jenkins FlexDeploy Plugin from here.

...

  • If you just downloaded the compiled JenkinsFlexDeployPlugin.hpi, you can skip this step and just move on to step 3.

Installing the Plugin

  1. To upload the plugin, connect to your Jenkins server and click "Manage Jenkins." then Then choose "Manage Plugins."
    Image Added
  2. From here, you can either go to the "Available" tab, and search for FlexDeploy.


    Image Removed

     

    Info

    If you don't see the FlexDeploy Plugin in the update center, you can still download it directly from here.


    Expand

    a. Download the Jenkins FlexDeploy Plugin from the Jenkins Support Site.

    b. On the "Manage Plugins" page, choose the "Advanced" tab, then click "Choose File" under the "Upload Plugin" section.

    Image Modified





  3. After clicking Uploadinstalling the plugin, you may need to restart the Jenkins server for the changes to take effect. Just check the box on the next screen if it says "Jenkins needs to be restarted for the update to take effect".

    Configuring the Plugin to work with FlexDeploy

  1. In your Jenkins project configuration, scroll down to the "Post-Build Actions" section, and click "Add Post-Build Action". 

    Info

    Make sure that you use place the "Archive the artifacts" step before using the FlexDeploy plugin , step so the plugin can find the proper artifacts.


  2. Choose "Build FlexDeploy Project" from the menu.


  3. Once you've added the Build FlexDeploy Project step, you should see a configuration page like this.

...

  1. Go to your Jenkins server where you configured a project using the FlexDeploy plugin.
  2. Click "Build Now" and you should see the project start to execute.
  3. Now go back to your FlexDeploy server and navigate to the project you set up to get an artifact from Jenkins. Once the Jenkins build is finished, you should see FlexDeploy start building the project.
  4. From there you can use any of FlexDeploy's many plugins to manage deploy the artifacts.