Run After build

33 views
Skip to first unread message

thil...@wso2.com

unread,
Sep 4, 2015, 12:55:57 AM9/4/15
to Jenkins Users
HI

im building a web app using jenkins.

It has it own server and only need to run .sh file after it build. 

Jenkins build a .tag.gz file i use terminal command plugin [1] to extract and execute the .sh file but it says java home not set 

need help to execute it after build


thanks.

thil...@wso2.com

unread,
Sep 6, 2015, 11:11:07 PM9/6/15
to Jenkins Users
bump

Victor Martinez

unread,
Sep 7, 2015, 3:05:07 AM9/7/15
to Jenkins Users
Hi,

 Have you configured that java setup in that particular slave? Have you run the same command manually? Can you add "java -version" command in your sh and check what java version is installed? 

 On the other hand, Jenkins provide some specific configuration about java, you can configure those jdk versions in the global settings, and set what java version you need to use in your jenkins job:


  It might help you

Cheers
Reply all
Reply to author
Forward
0 new messages