Re: run jar in jenkins job

1,289 views
Skip to first unread message
Message has been deleted

Richard Bywater

unread,
Jul 4, 2017, 7:11:00 AM7/4/17
to Jenkins Users
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 <sumith...@gmail.com> 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 jenkinsci-use...@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.
Reply all
Reply to author
Forward
Message has been deleted
0 new messages