Page tree

 Hudson is used as a build automation software. It is an open source continuous integration (CI) open server. A CI server can perform such tasks as:

  • Checking the source code
  • Building and testing the application or project
  • Publishing the results
  • Communicating the results to the team members

Hudson monitors executions of repeated jobs, such as building a software project. Jobs run by product or by project development team.

BMC Release Process Management enables you to integrate with the Hudson tool and use automation scripts to perform functions in the Hudson interface.

Before you begin

Before you automate using Hudson, ensure the following:

  • The computer that uses BMC Release Process Management can access the build server.
  • The build server has jobs.
  • The jobs are well defined and are in a running state.

To create Hudson integration server

  1. Go to System > Integrations.
  2. On the right pane, click Create new Integration.
  3. In the Server Type list, select Hudson/Jenkins.
  4. In the Server Name box, enter a server name.
  5. In the Ip box, enter IP address of the server.
  6. In the Server URL box, enter the server URL.
  7. In the Port box, enter the port number.
  8. In the Username box, enter the user name.
  9. (Optional) In the Password box, type the password of the build server system.
  10. (Optional) In the Details box, enter any server details if appropriate.
  11. Click Add Server.

Creating automation scripts

To create a script, you can write your own script or import a script from the library (comes with BMC Release Process Management) and change it to suit your requirements.

Note

Before you begin creating your scripts, ensure that you have an integration server already created to connect with the Hudson tool.

You can import the following scripts for Hudson:

Name

Type

Description

hudson_choose_job.rb

data retriever

Lists all the jobs and enables you to choose them

placeholder_hudson_script.rb

local ruby

Sample script that you can rewrite and use for performing a specific function

For the complete instructions about creating a new script for integrating with the Hudson tool, see Creating automation scripts.