Files
hawkbit/.circleci/run-qa.sh
Dominic Schabel ca65687fd5 Optimize CircleCI build (#756)
Optimize CircleCI build

Signed-off-by: Dominic Schabel <dominic.schabel@bosch-si.com>
2018-10-16 17:00:00 +02:00

19 lines
578 B
Bash
Executable File

#!/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