jenkins中jdk配置_如何在Jenkins中配置JDK

本文介绍了如何在Jenkins中配置JDK,包括为何要配置多个JDK版本、最佳实践,以及详细的配置步骤,如手动指定JDK路径或让Jenkins自动下载安装。
摘要由CSDN通过智能技术生成

jenkins中jdk配置

In the previous chapter, we learnt how to configure the Jenkins and start the server and see its GUI for other basic configurations. In this chapter will learn about configuring the JDK in Jenkins. Since Jenkins is commonly used for building and deploying the java applications, it offers excellent features for the same.

在上一章中,我们学习了如何配置Jenkins和启动服务器,以及如何查看其GUI的其他基本配置。 在本章中,将学习有关在Jenkins中配置JDK的信息。 由于Jenkins通常用于构建和部署Java应用程序,因此它提供了出色的功能。

As a default one, Jenkins will use the java version which it find from the system path. This is which the Jenkins itself running under. However there may be scenarios where there is a need to configure more than one version of the JDK. Consider, in the production system the application might be running on JDK 5 and in some QA platform higher version of the JDK may be required in order to perform some specific tests e.g. performance issues.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值