Skip to content

Latest commit

 

History

History
29 lines (27 loc) · 1019 Bytes

README.md

File metadata and controls

29 lines (27 loc) · 1019 Bytes

jenkins-cx-shared-library

shared library of jenkins-cx

Development Notes

  • 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

metrics

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 grafana docker run -d -p 3000:3000 grafana/grafana