Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Reverted from v. 8

...

When using a variable in the Maven configuration (JSON or pom.xml), you can override its value via -D flag in the command line passing an specific number or any other valuelineĀ 

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

Using a timestamp variable from the command line

In order to use a timestamp to report the build to Sealights, please prefer to use for example

Code Block
languagebash
mvn clean install -Psealights -DBUILD_NUMBER=`date +"%y%m%d_%H%M"`

Using a timestamp variable in pom.xml

...