Files
hawkbit/.circleci/run-qa.sh
Kai Zimmermann f9a7194fd5 Fix JavaDoc syntax errors. Add check to circle build. (#791)
* Fix JavaDoc syntax errors. Add check to circle build.

* One more code error

* Added missing tags.
2019-02-01 10:31:40 +01:00

19 lines
610 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 javadoc:javadoc sonar:sonar -Dsonar.login=$SONAR_ACCESS_TOKEN --batch-mode
else
mvn verify license:check javadoc:javadoc --batch-mode
fi