This is an automated email from the ASF dual-hosted git repository.
lukaszlenart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/struts.git
The following commit(s) were added to refs/heads/master by this push:
new 3d2a519 Adds missing tool section
3d2a519 is described below
commit 3d2a519399f460194a378ba523c5c30d585d047b
Author: Lukasz Lenart <[email protected]>
AuthorDate: Sun Feb 23 14:04:20 2020 +0100
Adds missing tool section
---
Jenkinsfile | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 9769d01..542d5ae 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -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'
}
}
}