Commit d25f8b29 authored by Martin Raifer's avatar Martin Raifer
Browse files

Merge branch 'sonarcloud' into 'oshdb-snapshot'

configure sonarcloud

See merge request !13
parents e591eabe b291cfb9
Pipeline #1586 created
...@@ -58,6 +58,9 @@ pipeline { ...@@ -58,6 +58,9 @@ pipeline {
stage ('Reports and Statistics') { stage ('Reports and Statistics') {
steps { steps {
script { script {
withSonarQubeEnv('sonarcloud GIScience/ohsome') {
sh "mvn sonar:sonar -Dsonar.branch.name=${env.BRANCH_NAME}"
}
report_basedir = "/srv/reports/${REPO_NAME}/${VERSION}_${env.BRANCH_NAME}/${env.BUILD_NUMBER}_${LATEST_COMMIT_ID}" report_basedir = "/srv/reports/${REPO_NAME}/${VERSION}_${env.BRANCH_NAME}/${env.BUILD_NUMBER}_${LATEST_COMMIT_ID}"
// jacoco // jacoco
......
...@@ -4,14 +4,19 @@ ...@@ -4,14 +4,19 @@
<artifactId>oshdb-examples</artifactId> <artifactId>oshdb-examples</artifactId>
<name>OSHDB Examples</name> <name>OSHDB Examples</name>
<url>https://ohsome.org/</url>
<version>0.2-SNAPSHOT</version> <version>0.2-SNAPSHOT</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<scm>
<url>https://gitlab.gistools.geog.uni-heidelberg.de/giscience/big-data/ohsome/oshdb-examples</url>
<connection>scm:git:https://gitlab.gistools.geog.uni-heidelberg.de/giscience/big-data/ohsome/oshdb-examples.git</connection>
<developerConnection>scm:git:ssh://git@gitlab.gistools.geog.uni-heidelberg.de:2022/giscience/big-data/ohsome/oshdb-examples.git</developerConnection>
</scm>
<parent> <parent>
<groupId>org.heigit.ohsome</groupId> <groupId>org.heigit.ohsome</groupId>
<artifactId>ohsome-parent</artifactId> <artifactId>ohsome-parent</artifactId>
<version>2.8</version> <version>2.9</version>
</parent> </parent>
<properties> <properties>
...@@ -27,25 +32,21 @@ ...@@ -27,25 +32,21 @@
</repositories> </repositories>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.heigit.ohsome</groupId> <groupId>org.heigit.ohsome</groupId>
<artifactId>oshdb-api</artifactId> <artifactId>oshdb-api</artifactId>
<version>${oshdb.version}</version> <version>${oshdb.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>jfree</groupId> <groupId>jfree</groupId>
<artifactId>jcommon</artifactId> <artifactId>jcommon</artifactId>
<version>1.0.16</version> <version>1.0.16</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>jfree</groupId> <groupId>jfree</groupId>
<artifactId>jfreechart</artifactId> <artifactId>jfreechart</artifactId>
<version>1.0.13</version> <version>1.0.13</version>
</dependency> </dependency>
</dependencies> </dependencies>
</project> </project>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment