Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

Build Scanner

Integrating into the pom.xml files

Usage
java -jar sl-build-scanner.jar -pom -configfile <arg> -workspacepath <arg> [-pluginversion <arg>]
Parameterdescription
configfileThe path to the JSON configuration you created with the parameters to be provided to the SeaLights Maven Plugin
workspacepathThe base path to the location of the pom.xml files to update
pluginversion(Optional) Version of the Maven SeaLights Plugin to insert into the pom.xml

Restoring the pom.xml file to its previous state

Usage
java -jar sl-build-scanner.jar -restore -workspacepath <arg>
FlagUse
workspacepathThe base path to the location of the pom.xml files to update

Maven tool

Command line flags passed to Sealights maven plugin

Usage
mvn <arg> [{-DrunTestsOnly=<arg> | -DrunFunctionalTests=<arg>}] [-Dsl.modulesToSkip=<arg>]
FlagDefaultUse
runTestsOnlyfalseSet to true to skip build-scanner
Note: when working with the Jenkins plugin this flag will not work, and you should use the runFunctionalTests=true
runFunctionalTestsfalseSet to true to skip build-scanner and only validate partially build session data (for example packages included are not mandatory)
sl.modulesToSkip
(Optional) A comma separated list of modules to skip. 
  • No labels