From 5a73f5d7ae3dc8591e3fdde3197bff1476bf1ec2 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Sat, 3 Mar 2018 09:22:28 +0000 Subject: [PATCH] jenkins: strong type read pom --- Jenkinsfile.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile.groovy b/Jenkinsfile.groovy index 8d193dd..45684a5 100644 --- a/Jenkinsfile.groovy +++ b/Jenkinsfile.groovy @@ -1,6 +1,6 @@ final String gitRepoUrl = 'git@github.com:kemitix/mon.git' final String mvn = "mvn --batch-mode --update-snapshots" -def pom = readMavenPom file: 'pom.xml' +final Model pom = readMavenPom file: 'pom.xml' pipeline { agent any