From f07562f94dc2130a5b1999a21a98774d20db7fe6 Mon Sep 17 00:00:00 2001 From: Patrick Gotthard Date: Tue, 26 Apr 2016 21:02:22 +0200 Subject: [PATCH] Fixes Jenkinsfile Updates Jenkinsfile to trigger SCM checkout and Maven build --- Jenkinsfile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index bcfd4b9..647a9df 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1 +1,10 @@ -checkout scm +node { + + stage 'Checkout' + checkout scm + + stage 'Build' + def mvnHome = tool 'Maven 3.3.9' + sh "${mvnHome}/bin/mvn clean install" + +}