Mend for Bitbucket Data Center - Upgrading to the Latest Docker Images
Get the latest Mend for Bitbucket Data Center version from Mend Support.
Upload the new Mend Bitbucket add-on by following the guidelines here.
Build these three Docker images from the new version - see here.
wss-bb-app
wss-scanner
remediate-server
Stop currently-running Docker containers from the previous version:
CODEdocker stop <wss-bb-app> <wss-scanner> <remediate-server>
Remove the Docker containers from the previous version:
CODEdocker rm <wss-bb-app> <wss-scanner> <remediate-server>
Fetch the activation key from the existing prop.json file (the propertyValue associated to the property "bolt.op.activation.key") and copy it to the clipboard.
Generate and save the new prop.json file by following the steps here and using the activation key value that was just copied.
Run the containers - see here.
(Optional) If the new wss-bb-app container has a different URL than the previous container, then follow the guidelines here to update the Bitbucket webhook URL.