Skip to main content

You can integrate with CI pipelines using the REST API.

1. Using the REST API

You can trigger a Test Run and query its results using the REST API. Please refer to the REST API Usage guide.

2. Github Actions

To use the example below as is, RELIV_API_KEY must be registered in Github Secrets. You can change the env to whatever environment you wish to use. Additionally, to prevent it from running indefinitely due to unforeseen reasons, a timeout of 10 minutes has been set. You can adjust this as needed.

3. Jenkins

To use the example below as is, reliv-api-key must be registered in Jenkins credentials. You can change the env to whatever environment you wish to use. Additionally, to prevent it from running indefinitely due to unforeseen reasons, a timeout of 10 minutes has been set. You can adjust this as needed.