summaryrefslogtreecommitdiffstats
path: root/node-maintainer
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@oath.com>2018-05-08 12:44:33 +0200
committerTor Egge <Tor.Egge@oath.com>2018-05-08 12:44:33 +0200
commitffebad2f076abcdd1699091dbf365bab52064862 (patch)
tree73a55eae3fa9629dfed68bb21e8f6cf41d9327fb /node-maintainer
parentb4b4c1ecf20f30bd8702657e8377a6d09b92a880 (diff)
Override VESPA_HOME for unit tests.
Diffstat (limited to 'node-maintainer')
-rw-r--r--node-maintainer/pom.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/node-maintainer/pom.xml b/node-maintainer/pom.xml
index 2c105a55b40..743e92f7f7d 100644
--- a/node-maintainer/pom.xml
+++ b/node-maintainer/pom.xml
@@ -83,6 +83,16 @@
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <redirectTestOutputToFile>${test.hide}</redirectTestOutputToFile>
+ <environmentVariables>
+ <VESPA_HOME>/opt/vespa</VESPA_HOME>
+ </environmentVariables>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<finalName>node-maintainer</finalName>