Differences in build in jenkins?

0

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.

    
asked by anonymous 14.04.2016 / 16:57

1 answer

0

I was making two errors:

1 - I was not specifying the correct branch in jenkins

2 - For some reason, I do not know exactly why, the pull was not running, I deleted my workspace and recreated again, that worked.

Thank you all!

    
15.04.2016 / 16:43