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
3153997748
commit
72a3cc04da
1 changed files with 1 additions and 0 deletions
|
@ -11,6 +11,7 @@ pipeline {
|
||||||
|
|
||||||
stage('Build') {
|
stage('Build') {
|
||||||
agent any
|
agent any
|
||||||
|
tool 'maven'
|
||||||
steps {
|
steps {
|
||||||
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