aded tool step

This commit is contained in:
matthewpdias 2018-03-07 15:32:09 -08:00
parent 72a3cc04da
commit e23c08f8b5

View file

@ -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'
} }