You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Hi All,
I need help with below issue …i’m getting in jenkins one of job i’m running
Gradle version :- 4.5 i’m using in server
java version :- 1.8 and 13 both using in jenkins and also in server and for below task i’m using java8 version to run but when i execute the job in jenkins it showing java13 in logs and java13 version i’m for other job in jenkins
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine java version from '13'.
As you can see below jenkins job showing logs is using jdk-13 it should use java1.8
Even i have use different gradle version also 6.7 in that case also it showing same error
[Netbanking] $ /bin/sh -xe /tmp/jenkins1529297276379477004.sh
+ echo /opt/jdk/jdk-13
/opt/jdk/jdk-13 ===> because of this showing my job is failing it should show java1.8
+ which java
/opt/jdk/jdk1.8.0_291/bin/java
+ java -version
java version "1.8.0_291"
Java(TM) SE Runtime Environment (build 1.8.0_291-b10)
Java HotSpot(TM) 64-Bit Server VM (build 25.291-b10, mixed mode)
Below is the details in server i'm using
Two path showing in server
ls /opt/jdk/jdk1.8.0_291
ls /opt/java/openjdk/
Below is the path of java which using in jenkins
root@bfdbda8e4489:/# ls /opt/jdk
jdk-13 jdk-15 jdk1.8.0_291
Different version using for different jenkins jobs
Hi @Mohd Rashid ,
Did you set in manage panel the JAVE_HOME parameter?
yes its already been configure in Global Tool Configuration
with multiple java version has been added and in project i have selected java 8 to run my job and its again fail
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Recommended Learning For You
Level up your skills with Atlassian learning
Jira Align Program Essentials
Learn how to use Jira Align at the program level and how to plan for and manage your Program Increment (PI).
Managing Agile Boards and Reports
Learn how to pick the right board type for your team and customize it to fit your specific requirements.
Atlassian Certified Associate
Jira Software Board Configuration
Earn an associate-level credential from Atlassian that shows you can effectively configure Jira Software boards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.