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
- Go to Settings > Integrations, and click the Create new Integration link at the right
- Select Hudson/Jenkins from the list in the Server Type field
- Type in a server name in the Server Name field
- Enter the server URL in the Server URL field
- Enter the port number in the Port field
- Enter the user name in the Username field
- (Optional) In the Password field, type the password of the build server system
- 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.
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 about creating a new script for integrating with the Hudson tool, see Creating-new-automation-scripts.