Optimize CircleCI build (#756)
Optimize CircleCI build Signed-off-by: Dominic Schabel <dominic.schabel@bosch-si.com>
This commit is contained in:
18
.circleci/run-qa.sh
Executable file
18
.circleci/run-qa.sh
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Copyright (c) 2015 Bosch Software Innovations GmbH and others.
|
||||
#
|
||||
# All rights reserved. This program and the accompanying materials
|
||||
# are made available under the terms of the Eclipse Public License v1.0
|
||||
# which accompanies this distribution, and is available at
|
||||
# http://www.eclipse.org/legal/epl-v10.html
|
||||
#
|
||||
|
||||
#echo "$CIRCLE_PULL_REQUEST pull request"
|
||||
|
||||
# Run SonarQube only for master branch
|
||||
if [ $CIRCLE_BRANCH = master ] ; then
|
||||
mvn verify license:check sonar:sonar -Dsonar.login=$SONAR_ACCESS_TOKEN --batch-mode
|
||||
else
|
||||
mvn verify license:check --batch-mode
|
||||
fi
|
||||
Reference in New Issue
Block a user