From 3aaa7d49cbae59e14cedc26f09c7f2b216725cfe Mon Sep 17 00:00:00 2001 From: Andrew Grimberg Date: Fri, 24 Feb 2017 12:51:11 -0800 Subject: Force maven to install in java jobs using scripts The *version2* java jobs execute scripts that need ${MVN} to actually operate properly. As these scripts are happening before the standard maven build step maven is not installed yet. Ergo, we need an empty maven build step that makes sure that it's installed. Change-Id: I5a0979fdffa87f695b1bc575e24b04097889ea59 Signed-off-by: Andrew Grimberg --- jjb/global-templates-java.yaml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'jjb/global-templates-java.yaml') diff --git a/jjb/global-templates-java.yaml b/jjb/global-templates-java.yaml index 4423d2072..7147a2081 100644 --- a/jjb/global-templates-java.yaml +++ b/jjb/global-templates-java.yaml @@ -788,6 +788,7 @@ - provide-maven-settings: global-settings-file: 'global-settings' settings-file: '{mvn-settings}' + - maven-install - inject: properties-file: version.properties @@ -862,6 +863,7 @@ - provide-maven-settings: global-settings-file: 'global-settings' settings-file: '{mvn-settings}' + - maven-install - inject: properties-file: version.properties -- cgit 1.2.3-korg