Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
giscience
big-data
ohsome
parent
Commits
b1471866
Verified
Commit
b1471866
authored
May 05, 2021
by
Johannes Visintini
Browse files
make checkstyle plugin phase configurable
parent
3db63c2d
Pipeline
#1954
passed with stage
in 0 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Jenkinsfile
View file @
b1471866
...
...
@@ -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]+)?$/
...
...
pom.xml
View file @
b1471866
...
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment