...
Instead of updating manually your pom.xml or the JSON configuration file, you have several ways to dynamically update the Build Name parameter passed to Sealights.
Solutions
Maven Parameter from Command line to Sealights plugin
...
In order to use a timestamp to report the build to Sealights, please prefer to use for example -DBUILD_NUMBER=`date +"%y%m%d_%H%M"`
Code Block | ||
---|---|---|
| ||
mvn clean install -Psealights -DBUILD_NUMBER==`date +"%y%m%d_%H%M"` |
Using a timestamp variable in pom.xml
...