mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-18 05:25:50 +00:00
Testing
This commit is contained in:
parent
e43e76d301
commit
eb1e9eea62
1 changed files with 8 additions and 8 deletions
16
Jenkinsfile
vendored
16
Jenkinsfile
vendored
|
@ -6,14 +6,14 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stages {
|
stages {
|
||||||
stage ('Build') {
|
//stage ('Build') {
|
||||||
steps {
|
// steps {
|
||||||
configFileProvider(
|
// configFileProvider(
|
||||||
[configFile(fileId: 'nexus', variable: 'MAVEN_SETTINGS')]) {
|
// [configFile(fileId: 'nexus', variable: 'MAVEN_SETTINGS')]) {
|
||||||
sh 'mvn -s $MAVEN_SETTINGS clean deploy -DskipTests=true'
|
// sh 'mvn -s $MAVEN_SETTINGS clean deploy -DskipTests=true'
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
}
|
//}
|
||||||
stage ('Sonar') {
|
stage ('Sonar') {
|
||||||
steps {
|
steps {
|
||||||
sh '/var/jenkins_home/sonar/bin/sonar-runner'
|
sh '/var/jenkins_home/sonar/bin/sonar-runner'
|
||||||
|
|
Loading…
Reference in a new issue