Verified Commit b1471866 authored by Johannes Visintini's avatar Johannes Visintini
Browse files

make checkstyle plugin phase configurable

parent 3db63c2d
Pipeline #1954 passed with stage
in 0 seconds
......@@ -10,7 +10,9 @@ pipeline {
LATEST_AUTHOR = sh(returnStdout: true, script: 'git show -s --pretty=%an').trim()
LATEST_COMMIT_ID = sh(returnStdout: true, script: 'git describe --tags --long --always').trim()
MAVEN_TEST_OPTIONS = ' '
// START CUSTOM ohsome-parent
MAVEN_TEST_OPTIONS = '-Dcheckstyle-plugin.phase=none'
// END CUSTOM ohsome-parent
INFER_BRANCH_REGEX = /(^master$)/
SNAPSHOT_BRANCH_REGEX = /(^master$)/
RELEASE_REGEX = /^([0-9]+(\.[0-9]+)*)(-(RC|beta-|alpha-)[0-9]+)?$/
......
......@@ -90,6 +90,7 @@
<sonar.organization>giscience</sonar.organization>
<sonar.version>3.9.0.2155</sonar.version>
<spotbugs.version>4.2.3</spotbugs.version>
<checkstyle-plugin.phase>verify</checkstyle-plugin.phase>
</properties>
<build>
......@@ -160,7 +161,7 @@
<executions>
<execution>
<id>do-checkstyle-verification</id>
<phase>verify</phase>
<phase>${checkstyle-plugin.phase}</phase>
<goals>
<goal>check</goal>
</goals>
......
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