mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-23 00:05:50 +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') {
|
timeout(time: 10, unit: 'MINUTES') {
|
||||||
sh """ #!/bin/bash
|
sh """ #!/bin/bash
|
||||||
mvn test surefire-report:report
|
mvn test surefire-report:report
|
||||||
|
|
||||||
echo 'surefire report generated in /target/site/surefire-report.html'
|
|
||||||
"""
|
"""
|
||||||
} // timeout
|
} // timeout
|
||||||
} // stage: unittest
|
} // stage: unittest
|
||||||
|
@ -34,9 +32,7 @@ node {
|
||||||
stage ("checkStyle") {
|
stage ("checkStyle") {
|
||||||
timeout(time: 2, unit: 'MINUTES') {
|
timeout(time: 2, unit: 'MINUTES') {
|
||||||
sh """ #!/bin/bash
|
sh """ #!/bin/bash
|
||||||
mvn checkstyle:checkstyle
|
mvn validate
|
||||||
|
|
||||||
echo 'checkstyle report generated in /target/site/checkstyle.html'
|
|
||||||
"""
|
"""
|
||||||
} // timeout
|
} // timeout
|
||||||
} // stage: validate
|
} // stage: validate
|
||||||
|
@ -45,8 +41,6 @@ node {
|
||||||
timeout(time: 2, unit: 'MINUTES') {
|
timeout(time: 2, unit: 'MINUTES') {
|
||||||
sh """ #!/bin/bash
|
sh """ #!/bin/bash
|
||||||
mvn jacoco:report
|
mvn jacoco:report
|
||||||
|
|
||||||
echo 'Jacoco report generated in /target/site/jacoco/index.html'
|
|
||||||
"""
|
"""
|
||||||
} // timeout
|
} // timeout
|
||||||
} // stage: Jacoo
|
} // stage: Jacoo
|
||||||
|
|
Loading…
Reference in a new issue