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