Jenkins Failure for initial Build

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 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.
Reply | Threaded
Open this post in threaded view
|

Re: Jenkins Failure for initial Build

H4ckSt4r
In reply to this post by Sridhar Babu
Please find the solution on this link. good luck!

https://stackoverflow.com/a/48246821/5731693



--
Sent from: http://jenkins-ci.361315.n4.nabble.com/Jenkins-users-f361316.html

--
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/1515907858752-0.post%40n4.nabble.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

Cuong Tran
In reply to this post by Sridhar Babu
It looks like the project you referenced in the job doesn't exist.

On Sunday, November 26, 2017 at 4:32:51 AM UTC-8, Sridhar Babu wrote:
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 <a href="https://github.com/g0t4/jenkins2-course-spring-boot.git" style="word-wrap:break-word;color:rgb(92,53,102)" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fg0t4%2Fjenkins2-course-spring-boot.git\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNE9N0S5WEl-H8OR9fFrWlJNggSY_g&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fg0t4%2Fjenkins2-course-spring-boot.git\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNE9N0S5WEl-H8OR9fFrWlJNggSY_g&#39;;return true;">https://github.com/g0t4/jenkins2-course-spring-boot.git # timeout=10
Fetching upstream changes from <a href="https://github.com/g0t4/jenkins2-course-spring-boot.git" style="word-wrap:break-word;color:rgb(92,53,102)" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fg0t4%2Fjenkins2-course-spring-boot.git\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNE9N0S5WEl-H8OR9fFrWlJNggSY_g&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fg0t4%2Fjenkins2-course-spring-boot.git\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNE9N0S5WEl-H8OR9fFrWlJNggSY_g&#39;;return true;">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 <a href="https://github.com/g0t4/jenkins2-course-spring-boot.git" style="word-wrap:break-word;color:rgb(92,53,102)" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fg0t4%2Fjenkins2-course-spring-boot.git\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNE9N0S5WEl-H8OR9fFrWlJNggSY_g&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fg0t4%2Fjenkins2-course-spring-boot.git\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNE9N0S5WEl-H8OR9fFrWlJNggSY_g&#39;;return true;">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/d76f8e4a-0bcd-4a7d-9c06-d0aa89b44f95%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.