springboot-sample

Sample java springboot project with gradle publishing and sonarqube tasks to test in CI pipelines

environment

Following environment variables have to be set to use publishing to nexus and sonarqube

  1. SONAR_LOGIN

  2. SONAR_PASSWORD

  3. NEXUS_LOGIN

  4. NEXUS_PASSWORD

example

gradle clean publish sonarqube -Pversion=custom