Installation - VMs or CI run
Before you begin the installation, please obtain the link to download Cover (from your product update email, or contact Diffblue). Please note you need version 2022.03.02 or above, installed and activated with an appropriate license.
Installing on a VM
If you only have a few machines it is possible to manually install Cover on each machine. To do this:
Unzip the Cover jar files to a common and accessible directory inside each VM.
Activate Cover.
Reference these jar files when calling Cover in your CI scripts.
Installing during a CI run
For most CI systems, you will want to download Cover as part of your CI run.
This link should be added as a secret variable for your CI system, with a memorable name, such as “RELEASE_URL”, so that it can be referenced later. Depending on your CI system this will have a different name but common examples are:
GitHub Actions = Secrets
Codebuild = Parameter store
Jenkins = Secret text in credentials
GitLab CI = Protected variables
Then, add a step to your pipeline which downloads from this link and extract the contents. Below is an example in GitHub Actions:
From this point on you will be able to call Cover by referencing the executable extracted from this zip at the location you specified (dcover/dcover
in the example above).
Similarly, add a secret variable for your CI system that holds the Cover license key, such as “LICENSE_KEY”. Activate Cover each time CI is run. For example
Last updated