Prerequisites

Before you begin, ensure you have the following in place.

Agent Version Requirements

  • Minimum Java Version: Java 8 or higher

  • SeaLights Java Agents: Latest stable version (recommended)

circle-check

Downloading the CD Only Java Agent

circle-info

This agent will be used in Phase 1: Core Coverage.

Download the latest version of the SeaLights Java CD-Only Agent to the machine where your component is deployed and make it available for that component. The agent is downloadable from the following URL: https://agents.sealights.co/sl-cd-agent/sl-cd-agent-latest.ziparrow-up-right

Example CLI commands for downloading the SeaLights Java Agent:

# Download the latest Java agent
wget -nv  https://agents.sealights.co/sl-cd-agent/sl-cd-agent-latest.zip

# Extract the agent
unzip -oq sl-cd-agent-latest.zip

#validate the agent version
echo "Sealights CD Agent version used is:" `cat version.txt`

Downloading the Java Agent

circle-info

This agent will be used in Phase 2 and after. It is not required for Phase 1: Core Coverage

Download the latest version of the SeaLights Java Agent.

There are two agent files

  • Build Scanner - sl-build-scanner.jar

  • Test Listener - sl-test-listener.jar

These agent files can be downloaded from: https://agents.sealights.co/sealights-java/sealights-java-latest.ziparrow-up-right

Example CLI commands for downloading the SeaLights Java Agent:

# Download the latest Java agent
wget -nv https://agents.sealights.co/sealights-java/sealights-java-latest.zip

# Extract the agent
unzip -oq sealights-java-latest.zip
circle-info

Instructions for downloading a specific version of the agent can be found herearrow-up-right

Access Credentials

You'll need an Agent Token to authenticate the agent. See Generating a Tokenarrow-up-right for detailed instructions.

circle-exclamation

Next Steps

Once you have your credentials and access to download the necessary agents, proceed to Phase 1: Core Coverage to begin collecting coverage data from your application.

Last updated

Was this helpful?