Skip to content

Commit

Permalink
Adds missing tool section
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszlenart committed Feb 23, 2020
1 parent f73f494 commit 3d2a519
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,15 @@ pipeline {
agent {
label 'ubuntu'
}
tools {
jdk 'JDK 8 (latest)'
maven 'Maven (latest)'
}
stages {
stage('Clean up') {
steps {
cleanWs deleteDirs: true, patterns: [[pattern: '**/target/**', type: 'INCLUDE']]
sh 'mvn dependency:purge-local-repository'
sh 'mvn -B dependency:purge-local-repository'
}
}
}
Expand Down

0 comments on commit 3d2a519

Please sign in to comment.