add Maven
Add Maven 3 (latest) to the Windows build - using the ubuntu drop down item
diff --git a/Jenkinsfile b/Jenkinsfile
index 5a06d36..c3e3fb7 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -22,11 +22,21 @@
node('Windows') {
def JAVA_JDK_8=tool name: 'JDK 1.8 (latest)', type: 'hudson.model.JDK'
echo "Testing with Java $JAVA_JDK_8"
+ def MAVEN_3_LATEST=tool name: 'Maven 3 (latest)', type: 'hudson.tasks.Maven$MavenInstallation'
+ echo "Testing with Maven $MAVEN_3_LATEST
+
stage('JAVA 1.8 (Latest) on Windows'){
withEnv(["Path+JDK=$JAVA_JDK_8\\bin","JAVA_HOME=$JAVA_JDK_8"]) {
bat "echo %JAVA_HOME%"
}
- } //end stage JAVA
+ } //end stage JAVA 1.8
+
+ stage('MAVEN 3 (Latest) on Windows'){
+ withEnv(["Path+JDK=$JAVA_JDK_8\\bin","Path+MAVEN=$MAVEN_3_LATEST\\bin","JAVA_HOME=$JAVA_JDK_8"]) {
+ bat "echo %MAVEN_HOME%"
+ }
+ } //end stage MAVEN 3
+
} // end node Windows
node('ubuntu') {