From aa86d120e5a51a3abcb6230820eabcc0eb569cd8 Mon Sep 17 00:00:00 2001 From: Joakim Erdfelt Date: Mon, 25 Jul 2016 16:10:46 -0700 Subject: [PATCH] Adding scm checkout --- Jenkinsfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 89f10b70777..abcb0504fdb 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -7,6 +7,10 @@ node { List mvnEnv = ["PATH+MVN=${mvntool}/bin", "PATH+JDK=${jdktool}/bin", "JAVA_HOME=${jdktool}/", "MAVEN_HOME=${mvntool}"] mvnEnv.add("MAVEN_OPTS=-Xms256m -Xmx1024m -Djava.awt.headless=true") + stage 'Checkout' + + checkout scm + stage 'Compile' withEnv(mvnEnv) {