mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 07:15:49 +00:00
Stage 'Tests' fix with checkstyle validate
This commit is contained in:
parent
2c0338e522
commit
840cee2d0d
1 changed files with 1 additions and 7 deletions
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
|
@ -25,8 +25,6 @@ node {
|
|||
timeout(time: 10, unit: 'MINUTES') {
|
||||
sh """ #!/bin/bash
|
||||
mvn test surefire-report:report
|
||||
|
||||
echo 'surefire report generated in /target/site/surefire-report.html'
|
||||
"""
|
||||
} // timeout
|
||||
} // stage: unittest
|
||||
|
@ -34,9 +32,7 @@ node {
|
|||
stage ("checkStyle") {
|
||||
timeout(time: 2, unit: 'MINUTES') {
|
||||
sh """ #!/bin/bash
|
||||
mvn checkstyle:checkstyle
|
||||
|
||||
echo 'checkstyle report generated in /target/site/checkstyle.html'
|
||||
mvn validate
|
||||
"""
|
||||
} // timeout
|
||||
} // stage: validate
|
||||
|
@ -45,8 +41,6 @@ node {
|
|||
timeout(time: 2, unit: 'MINUTES') {
|
||||
sh """ #!/bin/bash
|
||||
mvn jacoco:report
|
||||
|
||||
echo 'Jacoco report generated in /target/site/jacoco/index.html'
|
||||
"""
|
||||
} // timeout
|
||||
} // stage: Jacoo
|
||||
|
|
Loading…
Reference in a new issue