![OPENTEXT LOGO]((https://upload.wikimedia.org/wikipedia/commons/1/1b/OpenText_logo.svg)
- Download the most recent LTS version of the plugin at GOCD plugin GitHub
- Check the open issues (and add new issues) at Github issues
This plugin integrates GoCD with ALM Octane, enabling ALM Octane to display GoCD pipelines, trigger pipeline runs, and track build and test run results, as well as committed changes.
Note: You can connect your GoCD server to only one Space in ALM Octane. The same GoCD server cannot connect to multiple spaces or ALM Octane instances.
This plugin requires GoCD version 20.8.0 or later.
Before you install the plugin, obtain an API Access Client ID and Client secret from your ALM Octane’s shared space admin.
The plugin uses these for authentication when communicating with ALM.
Install this plugin on your GoCD server:
-
Download the plugin’s .jar file and store it on your GoCd server in
<go-server-directory>/plugins/external/
. -
Restart your GoCD server.
-
Configure the plugin to connect to ALM Octane:
- In GoCD, open Admin > Plugins: You should see the ALM Octane GoCD Plugin. Click the cogwheel in front of it.
- Enter the The URL of the ALM Octane server, using its fully qualified domain name (FQDN).
Use the following format (port is optional):http://hostname:port/ui/?p=<SpaceID>
. Example:http://myServer.myCompany.com:8081/ui/?p=1002
Tip: You can copy the URL from the address bar of the browser in which you opened ALM Octane. - Enter the API Access Client ID and Client Secret that the plugin should use to access ALM Octane.
- Set the GoCD API Username and GoCD API Password. These are the credentials the plugin uses to access the GoCD server.
- When you save your settings, the plugin tests the connections to ALM Octane and to the GoCD server. If the connections succeed, the settings are saved, otherwise you are notified of the problem.
-
In ALM Octane, add your GoCD server as a CI Server: In ALM Octane click the Settings cogwheel and select Spaces. (DevOps permissions are required)
- Open the DevOps tab and select the CI Servers section.
- Click + to add a new CI Server.
- Select your GoCD server from the dropdown list, provide a name for the CI server and save.
- With the GoCD server is added to the list in the CI servers section. You can see its name, instance ID, server type, URL, connection status and SDK version.
You can now add GoCD pipelines in ALM Octane.
This GoCD plugin provides ALM Octane with information about pipeline runs and enables triggering a pipeline run from ALM Octane.
The plugin notifies ALM Octane when a pipeline run starts, sending also an estimated run duration.
When a pipeline run ends, the plugin sends ALM Octane the build duration, build stability, test results and SCM changes.
In ALM Octane, you can trigger a pipeline run or track and analyse the pipeline run information provided by the plugin.
Make sure to declare your xml-report-files as artifacts or your build.
This enables the plugin to locate the test results, convert them to a format that the ALM Octane recognizes, and send the test results to ALM Octane.
The plugin supports only test results in the following formats:
- JUnit
- NUnit 2.5
- NUnit 3.0
- Contributions of code are always welcome!
- Follow the standard GIT workflow: Fork, Code, Commit, Push and start a Pull request
- Each pull request will be tested, pass static code analysis and code review results.
- All efforts will be made to expedite this process.
- Document your code – it enables others to continue the great work you did on the code and update it.
Feel free to contact us on any question related to contributions - octane.ci.plugins@gmail.com
Certain versions of software accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. This software was acquired by Micro Focus on September 1, 2017, and is now offered by OpenText. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.