...
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 | ||
---|---|---|
| ||
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 | ||
---|---|---|
| ||
mvn clean install -Psealights -DBUILD_NUMBER=`date +"%y%m%d_%H%M"` |
Using a timestamp variable in pom.xml
...