Docker Cloud questions

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Docker Cloud questions

Vincent Massol
Hi guys,

I'm trying to use Docker cloud and I have 2 questions:

1) How can I debug the spawned docker agent container? 

I've found that by setting the "Docker Command" field in "Docker Agent Templates" > "Container Settings" I can have the container stopped but not removed. FTR I've put in this field:  "docker run -v /var/run/docker.sock:/var/run/docker.sock xwiki/xwiki-jenkins-slave"

However, what's strange is that I see in the job logs that the Jenkins workspace is located in /root/workspace (/root being the home dir of the root user), but when I start the stopped container with "docker start", there's nothing in /root

Is there some volume binding happening? I was also expecting "docker start" to restart any volume binding.

2) In my logs, I can see that I've set JAVA_HOME properly but when maven installs and starts it says it's not set:

➡ JAVA_HOME: /home/hudsonagent/java8
[Pipeline] echo
➡ Using Maven tool: Maven
[Pipeline] echo
➡ Using Maven options: -Xmx2048m -Xms512m
[Pipeline] echo
➡ Artifact archiving: false
[Pipeline] echo
➡ Dependencies fingerprinting: false
[Pipeline] withMaven
[withMaven] Options: [org.jenkinsci.plugins.pipeline.maven.publishers.GeneratedArtifactsPublisher[disabled=true], org.jenkinsci.plugins.pipeline.maven.publishers.DependenciesFingerprintPublisher[disabled=true, scopes=[compile, provided, runtime], versions={snapshot:true, release:false}]]
[withMaven] Available options: 
[withMaven] using JDK installation provided by the build agent
Unpacking https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.5.4/apache-maven-3.5.4-bin.zip to /root/tools/hudson.tasks.Maven_MavenInstallation/Maven on Jenkins SSH Slave-000bzx6dkvokq on docker
[withMaven] using Maven installation 'Maven'
[Pipeline] {
[Pipeline] echo
➡ Using Maven goals: clean verify
[Pipeline] echo
➡ Using Maven profiles: docker,integration-tests
[Pipeline] echo
➡ Using Maven properties: 
[Pipeline] echo
➡ Using timeout: 240
[Pipeline] echo
➡ Java version used:
[Pipeline] sh
+ java -version
Picked up JAVA_TOOL_OPTIONS: -Dmaven.ext.class.path="/root/workspace/VincentDockerTest/master@tmp/withMavenf241505a/pipeline-maven-spy.jar" -Dorg.jenkinsci.plugins.pipeline.maven.reportsFolder="/root/workspace/VincentDockerTest/master@tmp/withMavenf241505a" 
openjdk version "1.8.0_202"
OpenJDK Runtime Environment Corretto-8.202.08.2 (build 1.8.0_202-b08)
OpenJDK 64-Bit Server VM Corretto-8.202.08.2 (build 25.202-b08, mixed mode)
[Pipeline] echo
➡ Current user:
[Pipeline] sh
+ whoami
root
[Pipeline] timeout
Timeout set to expire in 4 hr 0 min
[Pipeline] {
[Pipeline] echo
➡ Using POM file: pom.xml
[Pipeline] sh
+ mvn -f pom.xml clean verify -Pdocker,integration-tests --projects org.xwiki.platform:xwiki-platform-menu-test-docker -Dmaven.test.failure.ignore
----- withMaven Wrapper script -----
The JAVA_HOME environment variable is not defined correctly
This environment variable is needed to run this program
NB: JAVA_HOME should point to a JDK not a JRE
[Pipeline] }
[Pipeline] // timeout
[Pipeline] }
[Pipeline] // withMaven

Any idea?

Thanks
-Vincent

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/e30589de-9d6c-44de-a7d0-6fe6b4f07181%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Docker Cloud questions

Vincent Massol
I can reply for point 2), this was a stupid mistake on my side.

I made JAVA_HOME point <java home>/bin/java ...

Still interested in the answer for point 1 though :)

Thanks
-Vincent

Le jeudi 7 février 2019 12:24:14 UTC+1, Vincent Massol a écrit :
Hi guys,

I'm trying to use Docker cloud and I have 2 questions:

1) How can I debug the spawned docker agent container? 

I've found that by setting the "Docker Command" field in "Docker Agent Templates" > "Container Settings" I can have the container stopped but not removed. FTR I've put in this field:  "docker run -v /var/run/docker.sock:/var/run/docker.sock xwiki/xwiki-jenkins-slave"

However, what's strange is that I see in the job logs that the Jenkins workspace is located in /root/workspace (/root being the home dir of the root user), but when I start the stopped container with "docker start", there's nothing in /root

Is there some volume binding happening? I was also expecting "docker start" to restart any volume binding.

2) In my logs, I can see that I've set JAVA_HOME properly but when maven installs and starts it says it's not set:

➡ JAVA_HOME: /home/hudsonagent/java8
[Pipeline] echo<a href="https://ci.xwiki.org/view/All/job/VincentDockerTest/43/console#" style="color:rgb(92,53,102)" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fci.xwiki.org%2Fview%2FAll%2Fjob%2FVincentDockerTest%2F43%2Fconsole%23\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHqrs8Jxx1q2_7fZvIfg6Y-lD7Rtw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fci.xwiki.org%2Fview%2FAll%2Fjob%2FVincentDockerTest%2F43%2Fconsole%23\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHqrs8Jxx1q2_7fZvIfg6Y-lD7Rtw&#39;;return true;">
➡ Using Maven tool: Maven
[Pipeline] echo<a href="https://ci.xwiki.org/view/All/job/VincentDockerTest/43/console#" style="color:rgb(92,53,102)" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fci.xwiki.org%2Fview%2FAll%2Fjob%2FVincentDockerTest%2F43%2Fconsole%23\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHqrs8Jxx1q2_7fZvIfg6Y-lD7Rtw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fci.xwiki.org%2Fview%2FAll%2Fjob%2FVincentDockerTest%2F43%2Fconsole%23\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHqrs8Jxx1q2_7fZvIfg6Y-lD7Rtw&#39;;return true;">
➡ Using Maven options: -Xmx2048m -Xms512m
[Pipeline] echo<a href="https://ci.xwiki.org/view/All/job/VincentDockerTest/43/console#" style="color:rgb(92,53,102)" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fci.xwiki.org%2Fview%2FAll%2Fjob%2FVincentDockerTest%2F43%2Fconsole%23\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHqrs8Jxx1q2_7fZvIfg6Y-lD7Rtw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fci.xwiki.org%2Fview%2FAll%2Fjob%2FVincentDockerTest%2F43%2Fconsole%23\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHqrs8Jxx1q2_7fZvIfg6Y-lD7Rtw&#39;;return true;">
➡ Artifact archiving: false
[Pipeline] echo<a href="https://ci.xwiki.org/view/All/job/VincentDockerTest/43/console#" style="color:rgb(92,53,102)" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fci.xwiki.org%2Fview%2FAll%2Fjob%2FVincentDockerTest%2F43%2Fconsole%23\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHqrs8Jxx1q2_7fZvIfg6Y-lD7Rtw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fci.xwiki.org%2Fview%2FAll%2Fjob%2FVincentDockerTest%2F43%2Fconsole%23\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHqrs8Jxx1q2_7fZvIfg6Y-lD7Rtw&#39;;return true;">
➡ Dependencies fingerprinting: false
[Pipeline] withMaven<a href="https://ci.xwiki.org/view/All/job/VincentDockerTest/43/console#" style="color:rgb(92,53,102)" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fci.xwiki.org%2Fview%2FAll%2Fjob%2FVincentDockerTest%2F43%2Fconsole%23\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHqrs8Jxx1q2_7fZvIfg6Y-lD7Rtw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fci.xwiki.org%2Fview%2FAll%2Fjob%2FVincentDockerTest%2F43%2Fconsole%23\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHqrs8Jxx1q2_7fZvIfg6Y-lD7Rtw&#39;;return true;">
[withMaven] Options: [org.jenkinsci.plugins.pipeline.maven.publishers.GeneratedArtifactsPublisher[disabled=true], org.jenkinsci.plugins.pipeline.maven.publishers.DependenciesFingerprintPublisher[disabled=true, scopes=[compile, provided, runtime], versions={snapshot:true, release:false}]]
[withMaven] Available options: 
[withMaven] using JDK installation provided by the build agent
Unpacking <a href="https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.5.4/apache-maven-3.5.4-bin.zip" style="color:rgb(92,53,102)" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Frepo.maven.apache.org%2Fmaven2%2Forg%2Fapache%2Fmaven%2Fapache-maven%2F3.5.4%2Fapache-maven-3.5.4-bin.zip\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFHKZ-tKoRdXN6-yNZXcdY_x6rVWg&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Frepo.maven.apache.org%2Fmaven2%2Forg%2Fapache%2Fmaven%2Fapache-maven%2F3.5.4%2Fapache-maven-3.5.4-bin.zip\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFHKZ-tKoRdXN6-yNZXcdY_x6rVWg&#39;;return true;">https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.5.4/apache-maven-3.5.4-bin.zip to /root/tools/hudson.tasks.Maven_MavenInstallation/Maven on Jenkins SSH Slave-000bzx6dkvokq on docker
[withMaven] using Maven installation 'Maven'
[Pipeline] {<a href="https://ci.xwiki.org/view/All/job/VincentDockerTest/43/console#" style="color:rgb(92,53,102)" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fci.xwiki.org%2Fview%2FAll%2Fjob%2FVincentDockerTest%2F43%2Fconsole%23\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHqrs8Jxx1q2_7fZvIfg6Y-lD7Rtw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fci.xwiki.org%2Fview%2FAll%2Fjob%2FVincentDockerTest%2F43%2Fconsole%23\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHqrs8Jxx1q2_7fZvIfg6Y-lD7Rtw&#39;;return true;">
[Pipeline] echo<a href="https://ci.xwiki.org/view/All/job/VincentDockerTest/43/console#" style="color:rgb(92,53,102)" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fci.xwiki.org%2Fview%2FAll%2Fjob%2FVincentDockerTest%2F43%2Fconsole%23\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHqrs8Jxx1q2_7fZvIfg6Y-lD7Rtw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fci.xwiki.org%2Fview%2FAll%2Fjob%2FVincentDockerTest%2F43%2Fconsole%23\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHqrs8Jxx1q2_7fZvIfg6Y-lD7Rtw&#39;;return true;">
➡ Using Maven goals: clean verify
[Pipeline] echo<a href="https://ci.xwiki.org/view/All/job/VincentDockerTest/43/console#" style="color:rgb(92,53,102)" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fci.xwiki.org%2Fview%2FAll%2Fjob%2FVincentDockerTest%2F43%2Fconsole%23\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHqrs8Jxx1q2_7fZvIfg6Y-lD7Rtw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fci.xwiki.org%2Fview%2FAll%2Fjob%2FVincentDockerTest%2F43%2Fconsole%23\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHqrs8Jxx1q2_7fZvIfg6Y-lD7Rtw&#39;;return true;">
➡ Using Maven profiles: docker,integration-tests
[Pipeline] echo<a href="https://ci.xwiki.org/view/All/job/VincentDockerTest/43/console#" style="color:rgb(92,53,102)" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fci.xwiki.org%2Fview%2FAll%2Fjob%2FVincentDockerTest%2F43%2Fconsole%23\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHqrs8Jxx1q2_7fZvIfg6Y-lD7Rtw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fci.xwiki.org%2Fview%2FAll%2Fjob%2FVincentDockerTest%2F43%2Fconsole%23\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHqrs8Jxx1q2_7fZvIfg6Y-lD7Rtw&#39;;return true;">
➡ Using Maven properties: 
[Pipeline] echo<a href="https://ci.xwiki.org/view/All/job/VincentDockerTest/43/console#" style="color:rgb(92,53,102)" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fci.xwiki.org%2Fview%2FAll%2Fjob%2FVincentDockerTest%2F43%2Fconsole%23\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHqrs8Jxx1q2_7fZvIfg6Y-lD7Rtw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fci.xwiki.org%2Fview%2FAll%2Fjob%2FVincentDockerTest%2F43%2Fconsole%23\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHqrs8Jxx1q2_7fZvIfg6Y-lD7Rtw&#39;;return true;">
➡ Using timeout: 240
[Pipeline] echo<a href="https://ci.xwiki.org/view/All/job/VincentDockerTest/43/console#" style="color:rgb(92,53,102)" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fci.xwiki.org%2Fview%2FAll%2Fjob%2FVincentDockerTest%2F43%2Fconsole%23\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHqrs8Jxx1q2_7fZvIfg6Y-lD7Rtw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fci.xwiki.org%2Fview%2FAll%2Fjob%2FVincentDockerTest%2F43%2Fconsole%23\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHqrs8Jxx1q2_7fZvIfg6Y-lD7Rtw&#39;;return true;">
➡ Java version used:
[Pipeline] sh<a href="https://ci.xwiki.org/view/All/job/VincentDockerTest/43/console#" style="color:rgb(92,53,102)" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fci.xwiki.org%2Fview%2FAll%2Fjob%2FVincentDockerTest%2F43%2Fconsole%23\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHqrs8Jxx1q2_7fZvIfg6Y-lD7Rtw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fci.xwiki.org%2Fview%2FAll%2Fjob%2FVincentDockerTest%2F43%2Fconsole%23\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHqrs8Jxx1q2_7fZvIfg6Y-lD7Rtw&#39;;return true;">
+ java -version
Picked up JAVA_TOOL_OPTIONS: -Dmaven.ext.class.path="/root/workspace/VincentDockerTest/master@tmp/withMavenf241505a/pipeline-maven-spy.jar" -Dorg.jenkinsci.plugins.pipeline.maven.reportsFolder="/root/workspace/VincentDockerTest/master@tmp/withMavenf241505a" 
openjdk version "1.8.0_202"
OpenJDK Runtime Environment Corretto-8.202.08.2 (build 1.8.0_202-b08)
OpenJDK 64-Bit Server VM Corretto-8.202.08.2 (build 25.202-b08, mixed mode)
[Pipeline] echo<a href="https://ci.xwiki.org/view/All/job/VincentDockerTest/43/console#" style="color:rgb(92,53,102)" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fci.xwiki.org%2Fview%2FAll%2Fjob%2FVincentDockerTest%2F43%2Fconsole%23\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHqrs8Jxx1q2_7fZvIfg6Y-lD7Rtw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fci.xwiki.org%2Fview%2FAll%2Fjob%2FVincentDockerTest%2F43%2Fconsole%23\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHqrs8Jxx1q2_7fZvIfg6Y-lD7Rtw&#39;;return true;">
➡ Current user:
[Pipeline] sh<a href="https://ci.xwiki.org/view/All/job/VincentDockerTest/43/console#" style="color:rgb(92,53,102)" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fci.xwiki.org%2Fview%2FAll%2Fjob%2FVincentDockerTest%2F43%2Fconsole%23\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHqrs8Jxx1q2_7fZvIfg6Y-lD7Rtw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fci.xwiki.org%2Fview%2FAll%2Fjob%2FVincentDockerTest%2F43%2Fconsole%23\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHqrs8Jxx1q2_7fZvIfg6Y-lD7Rtw&#39;;return true;">
+ whoami
root
[Pipeline] timeout<a href="https://ci.xwiki.org/view/All/job/VincentDockerTest/43/console#" style="color:rgb(92,53,102)" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fci.xwiki.org%2Fview%2FAll%2Fjob%2FVincentDockerTest%2F43%2Fconsole%23\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHqrs8Jxx1q2_7fZvIfg6Y-lD7Rtw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fci.xwiki.org%2Fview%2FAll%2Fjob%2FVincentDockerTest%2F43%2Fconsole%23\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHqrs8Jxx1q2_7fZvIfg6Y-lD7Rtw&#39;;return true;">
Timeout set to expire in 4 hr 0 min
[Pipeline] {<a href="https://ci.xwiki.org/view/All/job/VincentDockerTest/43/console#" style="color:rgb(92,53,102)" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fci.xwiki.org%2Fview%2FAll%2Fjob%2FVincentDockerTest%2F43%2Fconsole%23\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHqrs8Jxx1q2_7fZvIfg6Y-lD7Rtw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fci.xwiki.org%2Fview%2FAll%2Fjob%2FVincentDockerTest%2F43%2Fconsole%23\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHqrs8Jxx1q2_7fZvIfg6Y-lD7Rtw&#39;;return true;">
[Pipeline] echo<a href="https://ci.xwiki.org/view/All/job/VincentDockerTest/43/console#" style="color:rgb(92,53,102)" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fci.xwiki.org%2Fview%2FAll%2Fjob%2FVincentDockerTest%2F43%2Fconsole%23\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHqrs8Jxx1q2_7fZvIfg6Y-lD7Rtw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fci.xwiki.org%2Fview%2FAll%2Fjob%2FVincentDockerTest%2F43%2Fconsole%23\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHqrs8Jxx1q2_7fZvIfg6Y-lD7Rtw&#39;;return true;">
➡ Using POM file: pom.xml
[Pipeline] sh<a href="https://ci.xwiki.org/view/All/job/VincentDockerTest/43/console#" style="color:rgb(92,53,102)" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fci.xwiki.org%2Fview%2FAll%2Fjob%2FVincentDockerTest%2F43%2Fconsole%23\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHqrs8Jxx1q2_7fZvIfg6Y-lD7Rtw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fci.xwiki.org%2Fview%2FAll%2Fjob%2FVincentDockerTest%2F43%2Fconsole%23\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHqrs8Jxx1q2_7fZvIfg6Y-lD7Rtw&#39;;return true;">
+ mvn -f pom.xml clean verify -Pdocker,integration-tests --projects org.xwiki.platform:xwiki-platform-menu-test-docker -Dmaven.test.failure.ignore
----- withMaven Wrapper script -----
The JAVA_HOME environment variable is not defined correctly
This environment variable is needed to run this program
NB: JAVA_HOME should point to a JDK not a JRE
[Pipeline] }
[Pipeline] // timeout
[Pipeline] }
[Pipeline] // withMaven

Any idea?

Thanks
-Vincent

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/eb8b9959-d340-4e21-8bf8-b02b698cdf65%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.