Reputation: 3
I have some question when using jenkins.
the scenario:
I don't know how this problem happen,please help,Thanks all
Upvotes: 0
Views: 1164
Reputation: 3744
This might be the problem of path variables, just to cross verify , find JAVA_HOME on your server 1. By logging onto server manually 2. From Exec command of your ssh section of your jenkins job , most probably you will find the answer.
i'm assuming you're jenkins is configured to use jdk which is defined at its root level.
if this didn't solve , we need to look into this problem from another angle.
Upvotes: 2