Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagexml
titleSample of JSON configuration file
{
  ...
  "buildName": "${BUILD_NUMBER}",
  ...
}

you'll hav have to initiate the build via a command similar to 

Code Block
languagebash
mvn clean install -Psealights -DBUILD_NUMBER=3

In case you would like to use a timestamp to identify the build reported to Sealights, please prefer to use -DBUILD_NUMBER=`date +"%y%m%d_%H%M"`

Using a timestamp variable in pom.xml

...