Thank you for the response. Its a spring boot application. After removing the timeout plugin, the job doesn't end even after starting the application. How to run the spring boot application in jenkins job? Please advice.
On Tuesday, July 4, 2017 at 7:11:00 AM UTC-4, Richard Bywater wrote: > > What does 'demo.jar' actually do? It looks like you've got a build timeout > plugin installed which times the build out after 5 minutes which seems to > imply that the execution of the JAR hasn't returned in that time period. > > Richard. > > On Tue, 4 Jul 2017 at 23:04 Sumitha Arjunan <[email protected] > <javascript:>> wrote: > >> I am new to jenkins. >> >> I have created a jar after the build process in jenkins job. If I run the >> jar through command line, the application is up and running fine. When I >> try to run the jar in jenkins job, using below windows batch command >> >> java -jar demo.jar >> >> Getting error; >> >> 05:29:36 2017-07-04 05:29:36.101 INFO 10932 --- [ main] >> c.i.t.DemoeApplication : Started DemoApplication in 9.796 seconds (JVM >> running for 10.576) >> 05:34:22 Build timed out (after 5 minutes). Marking the build as aborted. >> 05:34:22 Build was aborted >> 05:34:22 Finished: ABORTED >> >> How to run the jar in jenkins job? Please advice. >> >> -- >> 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 [email protected] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jenkinsci-users/d3c1b905-c9d7-4176-a0db-d718118e7923%40googlegroups.com >> >> <https://groups.google.com/d/msgid/jenkinsci-users/d3c1b905-c9d7-4176-a0db-d718118e7923%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/b9b7b3be-f0ba-421f-9112-eb7373aca7d0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
