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]> 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]. > 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/CAMui945QAcuqtrABVUDz4EmGkTO9azhorevL%2BaLwK8%3DDQFRNTA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
