Unsupported content This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

Hudson


 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 Settings > Integrations, and click the Create new Integration link at the right
  2. Select Hudson/Jenkins from the list in the Server Type field
  3. Type in a server name in the Server Name field
  4. Enter the server URL in the Server URL field
  5. Enter the port number in the Port field
  6. Enter the user name in the Username field
  7. (Optional) In the Password field, type the password of the build server system
  8. 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. For creating the Hudson scripts, use Ruby.

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

Resource automation

Lists all the jobs and enables you to choose them

placeholder_hudson_script.rb

Automation

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

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

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*