I configured Jenkins to "build" a project from a git repository, I'm using maven:
Warning: JAVA_HOME environment variable is not set. Apache Maven 3.3.3 (7994120775791599e205a5524ec3e0dfe41d4a06; 2015-04-22T08: 57: 37-03: 00) Maven home: / opt / maven Java version: 1.7.0_95, vendor: Oracle
Corporation Java home: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.95.x86_64/jre
Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "Unix", "amd64", "unix"
I tried to "set" also JAVA_HOME:
[root@centos64 ~]# mvn -version
Apache Maven 3.3.3 (7994120775791599e205a5524ec3e0dfe41d4a06; 2015-04-22T08:57:37-03:00)
Maven home: /opt/maven
Java version: 1.7.0_95, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.95.x86_64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "2.6.32-573.el6.x86_64", arch: "amd64", family: "unix"
When I run the build by jenkins the build runs imcomplete:
WhenIrunthroughtheterminalithappenscorrectly:
In both cases the build is successfully completed.
I do not know exactly what is happening.