Switching license from EPL v1 to v2. Following https://www.eclipse.org/legal/epl-2.0/faq.php#h.tci84nlsqpgw Signed-off-by: Marinov Avgustin <Avgustin.Marinov@bosch.com>
20 lines
662 B
Bash
Executable File
20 lines
662 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# Copyright (c) 2015 Bosch Software Innovations GmbH and others
|
|
#
|
|
# This program and the accompanying materials are made
|
|
# available under the terms of the Eclipse Public License 2.0
|
|
# which is available at https://www.eclipse.org/legal/epl-2.0/
|
|
#
|
|
# SPDX-License-Identifier: EPL-2.0
|
|
#
|
|
|
|
#echo "$CIRCLE_PULL_REQUEST pull request"
|
|
|
|
# Run SonarQube only for master branch
|
|
if [ $CIRCLE_BRANCH = master ] ; then
|
|
mvn verify license:check javadoc:javadoc org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.branch.name=eclipse-master -Dsonar.login=$SONAR_ACCESS_TOKEN --batch-mode
|
|
else
|
|
mvn verify license:check javadoc:javadoc --batch-mode
|
|
fi
|