shared library of jenkins-cx
- update parent pom
./mvnw versions:update-parent -s .mvn/settings.xml
- update used plugins
./mvnw versions:display-plugin-updates -s .mvn/settings.xml
- update dependencies
./mvnw versions:display-dependency-updates -s .mvn/settings.xml
- local build
./mvnw clean install -s .mvn/settings.xml
use influxdb
- local windows
docker run -p 8086:8086 -v %HOME%\.influxdb:/var/lib/influxdb influxdb
docker run --rm \ -e INFLUXDB_DB=cx_sharedlib_metrics \ -e INFLUXDB_ADMIN_USER=admin -e INFLUXDB_ADMIN_PASSWORD=supersecretpassword \ -e INFLUXDB_USER=telegraf -e INFLUXDB_USER_PASSWORD=secretpassword \ -v $PWD:/var/lib/influxdb \ influxdb /init-influxdb.sh
docker run -p 8086:8086 --rm \ -e INFLUXDB_DB=cx_sharedlib_metrics \ -v $PWD:/var/lib/influxdb \ influxdb /init-influxdb.sh
use grafanadocker run -d -p 3000:3000 grafana/grafana