stages:
    - build
    - test

build:
    stage: build
    script: "mvn clean test -B"

sonar:
    stage: test
    script: "mvn verify sonar:sonar -B -Dsonar.host.url=https://sonarqube.johnnei.org"

stages:
    - build
    - test

build:
    stage: build
    script: "mvn clean test -B"

sonar:
    stage: test
    script: "mvn verify sonar:sonar -B -Dsonar.host.url=https://sonarqube.johnnei.org -Dmaven.test.failure.ignore=true"

Allow ITs to fail during sonar-phase.
Allow ITs to fail during sonar-phase.
