Using an old agent version is a potential source for a range of unexpected issues on your apps which that otherwise might have already been fixed in newer versions.
The benefits of using an up-to-date agent includesinclude, apart from the obvious numerous bug fixes, performance improvements, and updated dependencies with security patches.
...
Go to Settings->agent versions and make sure you choose the latest version from the drop-down list for the relevant agent types
Note |
---|
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’ '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
Info |
---|
You can consult a sample on our dedicated page Java - How to ensure I am running the latest/recommended agent version |
2b. For Nodejs agent -
Update your package.json file to use the latest slnodejs version OR
...
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
Pls follow Downloading the .NET agent files
...