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 jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/d3c1b905-c9d7-4176-a0db-d718118e7923%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.