#!/bin/sh

set -e
set -x

export CI=true
mvn -U deploy
mvn sonar:sonar

#!/bin/sh

set -e

cleanup()
{
    mvn build-helper:remove-project-artifact
}
trap cleanup 0 INT TERM QUIT

export CI=true
set -x
mvn -U deploy
mvn sonar:sonar

Remove project artifacts on CI completion
Remove project artifacts on CI completion
