How to make sure Sealights agent is up to date

Using an old agent version is a potential source for a range of unexpected issues on your apps that otherwise might have already been fixed in newer versions.

The benefits of using an up-to-date agent include, apart from the obvious numerous bug fixes, performance improvements, and updated dependencies with security patches.

Therefore, it is required that you update your apps periodically to use our latest agents version.

This article describes how to make it happen.

 Instructions

  1. Go to Settings->agent versions and make sure you choose the latest version from the drop-down list for the relevant agent types

If you download the agents/plugin from an internal repo, you must make sure the updated version does exist there before changing the version number

2a. For Java agents -

If you are running with the parameter -Dsl.enableupgrade=false change it to 'true' or drop it completely.

Alternatively, if you wish to avoid automatic updates to the agent you can manually download and replace the local agent’s files from https://agents.sealights.co/sealights-java/sealights-java-latest.zip

You can consult a sample on our dedicated page https://sealights.atlassian.net/wiki/spaces/SUP/pages/667516938

2b. For Nodejs agent -

Update your package.json file to use the latest slnodejs version OR

run via NPM install - npm install slnodejs - will use the latest version

 

2c. For .NET agents -

If you are using VSTS/ADO your agents will update according to the version in the Agent Versions Settings page in the drop-down list (see #1)

Otherwise, you will need to manually install the latest version