Github offers the facility to configure a webhook that you can use to
trigger an automated and secure continuous integration and continuous delivery (CI/CD) pipeline
hosted in your preferred CI/CD tool. When a new snapshot of your workflow project is created, you
can trigger the Github webhook by pushing a file descriptor of the project (in JSON format) to a
configured Git repository, which in turn triggers the CI/CD pipeline.
This feature is available only on Workflow Center.
Procedure
Complete the following configuration to push the project descriptor file of your
workflow snapshot to Github.
- Install Business Automation Workflow
and create the deployment environment.
- Update the
100Custom.xml file with the Github repository URL and authentication alias name
by adding the following configuration. For the location of the file and instructions about updating
it, see Location of 100Custom configuration files and Creating a 100Custom.xml configuration file.
<server>
<git-configuration merge="replace">
<git-endpoint-url>https://api.github.com/repos/user1/bawgitrepo</git-endpoint-url>
<git-auth-alias-name>Git-J2C-Auth-Alias-Name</git-auth-alias-name>
</git-configuration>
</server>
where
<git-endpoint-url> is the REST API
URL for your Git repository. The value should be
"api.github.com" instead of
"github.com".
- If required, import the target Github Enterprise Transport Layer Security (TLS) trust in the WebSphere® administrative console.
- Create an authentication alias in the WebSphere administrative console by clicking .
The authentication
alias is saved to
INSTALL_PATH/profiles/Dmgr/config/cells/cell_name/security.xml.
<authDataEntries xmi:id="JAASAuthData_1697618472314" alias="Git-J2C-Auth-Alias-Name" userId="bpmadmin1bbb" password="{xor}KzA6NDErMDQ6MQ==" description=""/>
- Synchronize the node and restart the server.
- Verify the configuration:
This topic is shared by BAW, CP4BA. Last updated on 2025-01-20 10:38