Jenkins Failure for initial Build

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

Jenkins Failure for initial Build

Sridhar Babu
Hi I am new to Jenkins and started Learning and for my trail getting below Failure message.
Could you please tell me what could be the issue

Building in workspace C:\Program Files (x86)\Jenkins\workspace\atmosphere
 > C:\Program Files\Git\bin\git.exe rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > C:\Program Files\Git\bin\git.exe config remote.origin.url https://github.com/g0t4/jenkins2-course-spring-boot.git # timeout=10
Fetching upstream changes from https://github.com/g0t4/jenkins2-course-spring-boot.git
 > C:\Program Files\Git\bin\git.exe --version # timeout=10
 > C:\Program Files\Git\bin\git.exe fetch --tags --progress https://github.com/g0t4/jenkins2-course-spring-boot.git +refs/heads/*:refs/remotes/origin/*
 > C:\Program Files\Git\bin\git.exe rev-parse "refs/remotes/origin/master^{commit}" # timeout=10
 > C:\Program Files\Git\bin\git.exe rev-parse "refs/remotes/origin/origin/master^{commit}" # timeout=10
Checking out Revision 4bde91e33e2860b2aab142028c04eff37b7791f2 (refs/remotes/origin/master)
 > C:\Program Files\Git\bin\git.exe config core.sparsecheckout # timeout=10
 > C:\Program Files\Git\bin\git.exe checkout -f 4bde91e33e2860b2aab142028c04eff37b7791f2
Commit message: "Adding in jacoco code coverage"
 > C:\Program Files\Git\bin\git.exe rev-list 4bde91e33e2860b2aab142028c04eff37b7791f2 # timeout=10
[atmosphere] $ cmd.exe /C "mvn -f spring-boot-samples/spring-boot-sample-atmosphere/pom.xml compile && exit %%ERRORLEVEL%%"
\Jenkins\workspace\atmosphere\spring-boot-samples\spring-boot-sample-atmosphere was unexpected at this time.
Build step 'Invoke top-level Maven targets' marked build as failure
Finished: FAILURE

--
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/353b58b0-8741-4ff4-8152-cebb71d827f8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Jenkins Failure for initial Build

Victor Martinez
That particular error message doesn't provide enough details though, and it might be related to some environmental issue or something else, therefore I'd suggest to use some maven flags to detect what's the real error underneath:

-e, --errors
Produce execution error messages
-X, --debug
Produce execution debug output

Further details:
- http://books.sonatype.com/mvnref-book/reference/running-sect-options.html

Cheers

--
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/94e8e71b-144f-4c04-9cf0-654169c3b80c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.