mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-19 14:05:50 +00:00
aded tool step
This commit is contained in:
parent
72a3cc04da
commit
e23c08f8b5
1 changed files with 1 additions and 1 deletions
|
@ -11,8 +11,8 @@ pipeline {
|
||||||
|
|
||||||
stage('Build') {
|
stage('Build') {
|
||||||
agent any
|
agent any
|
||||||
tool 'maven'
|
|
||||||
steps {
|
steps {
|
||||||
|
tool 'maven'
|
||||||
configFileProvider([configFile(fileId: 'nexus', variable: 'MAVEN_SETTINGS')]) {
|
configFileProvider([configFile(fileId: 'nexus', variable: 'MAVEN_SETTINGS')]) {
|
||||||
sh 'mvn -s $MAVEN_SETTINGS clean deploy -DskipTests=true -B'
|
sh 'mvn -s $MAVEN_SETTINGS clean deploy -DskipTests=true -B'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue