Update Cover
Diffblue releases product updates about every two weeks to continuously provide you with product enhancements and new features. Note that:
If needed, check the details for the latest updates, and even the older ones - see What's new.
When you update, you'll always be updated to the latest version.
If you're using Cover Plugin and Cover CLI, we recommend that you update both products to the latest version.
Update Cover Plugin or Cover CLI
In IntelliJ, go to
File > Settings > Plugins(Windows/Linux) orIntelliJ IDEA > Preferences > Plugins(macOS), highlight the Diffblue Plugin and clickUpdatein the details panel.When you're ready, click
Restart IDEto complete the update. Enjoy your shiny, new plugin.
Windows:
Using the link provided by Diffblue, download the new Diffblue Cover CLI file - either the
.exeinstaller or.ziparchive, as needed.If you use the installer, run the
.exeinstaller and follow the on-screen prompts.If you use the archive file, extract the
.zipfile to your existing Cover CLI folder.When your done, restart your PC.
Linux/macOS:
Using the link provided by Diffblue, download the Diffblue Cover CLI
.zipfile.Unzip the Cover CLI zip file to an appropriate installation location (for example,
~/bin) and update this location in thePATHenvironment variable using the following example commands:\mkdir ~/bin cd ~/bin unzip ~/diffblue-cover*.zip cd export PATH=$PATH:~/binReminder: Make sure that the
PATHenvironment variable is set permanently according to your operating system instructions.
Update Cover Reports
On your Cover Reports server:
Stop Cover Reports by running:
docker compose downIn your shell, navigate to the
$COVER_REPORTS_HOMEdirectory where the existing installation is located and make a copy (backup) of the directory.Rename the
docker-compose.ymlfile in the$COVER_REPORTS_HOMEdirectory - e.g.docker-compose-2023.08.13.ymlUsing the link provided by Diffblue, download Cover Reports: &#xNAN;- For Cover Reports Docker Compose, download the
docker-compose.ymlfile to the$COVER_REPORTS_HOMEdirectory. &#xNAN;- For Cover Reports.tar.gz, download the latest Cover Reports bundle (e.g.diffblue-cover-reports-2023.08.01.tar.gz) and load the Docker bundle:docker load -i /path/diffblue-cover-reports-<version>.tar.gzStart the new version of Cover Reports using the command:
docker compose up -d
Make a copy of your custom files as needed -
application.properties,cover-reports.xml,cover-reports.serviceUsing the link provided by Diffblue, download the latest Cover Reports
.zipbundle to your Cover Reports install directory.Stop Cover Reports (if currently running).
In your shell, navigate to the Cover Reports install directory and extract the contents of the downloaded zip file.
Add your custom files back to the updated installation.
Restart Cover Reports.
Windows:
Using the link provided by Diffblue, download the combined Cover CLI & Cover Reports - for example,
diffblue-cover-installer-2023.10.02.exeUsing the Windows Service Manager, stop the Cover Reports service.
Run the installer and follow the on screen prompts - note that to install Cover Reports, make sure that the
Cover Reportsoption is selected during the install.Restart the Cover Reports service.
Last updated
Was this helpful?

