I've created jenkins job which need to build something very simple
Clone this repo
https://github.com/g0t4/jenkins2-course-spring-boot
cd to project
and run mvn compile
inside the atmosphere there is a pom.xml
file, so what could be the reason to no finding it ?
I've configure the task like following
The error in the log is:
Checking out Revision 4bde91e33e2860b2aab142028c04eff37b7791f2 (refs/remotes/origin/master)
git config core.sparsecheckout # timeout=10 git checkout -f 4bde91e33e2860b2aab142028c04eff37b7791f2 Commit message: "Adding in jacoco code coverage" First time build. Skipping changelog. [atmo_local] $ mvn -f spring-boot-samples/spring-boot-sample-atmosphere/pom.xml complie FATAL: command execution failed java.io.IOException: error=2, No such file or directory
update
When I click on my mac mvn -v
I get
Apache Maven 3.3.9 (bb52d2b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T18:41:47+02:00)
Maven home: /usr/local/Cellar/maven/3.3.9/libexec
Java version: 1.8.0_144, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.13.2", arch: "x86_64", family: "mac"
update 2 this is the global configuration
java -version
andmvn -v
without errors and 4) configure jenkins to runmvn clean install
– spi