I configure Jenkins to build a project from git, i’m using maven:
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"
However, the project build is incomplete:
In a terminal the build occurred correct:
In both case no error occurs and a build is finished with sucess.
I don’t know exactly, why the differences are happening.
Advertisement
Answer
I was making two mistakes:
1 – At the first time I was not especifying the correct branch
2 – For some reason, that I don’t know exactly, the first workspce that I had created, the pull was not working, then I deleted my workspace and recreated it.
Then it’s worked fine for me.
Thanks for all.