Jenkins windows 安装配置
Window 安装 配置 Jenskins
Jenkins是一个基于Java开发的一种持续集成工具,开源软件项目,旨在提供一个开放易用的软件平台,使软件的持续集成变成可能 ,用于监控持续重复的工作,功能包括:
- 持续的软件版本发布/测试项目。
- 监控外部调用执行的工作。
1. 安装 JDK
下载特定版本的JDK, jdk-11.0.5_windows-x64_bin.exe (下载地址:https://www.oracle.com/technetwork/java/javase/downloads/index.html)
2. 配置环境变量
Setting the PATH Environment Variable
It is useful to set the PATH variable permanently for JDK 13 so that it is persistent after rebooting.
If you do not set the PATH variable, then you must specify the full path to the executable file every time that you run it. For example:Typically, the full path is for JDK is:C:\Program Files\Java\jdk-13\bin
To set the PATH variable on Microsoft Windows:
- Select Control Panel and then System.Click Advanced and then Environment Variables.Add the location of the bin folder of the JDK installation to the PATH variable in System Variables.
Note:The PATH environment variable is a series of directories separated by semicolons (;) and is not case-sensitive. Microsoft Windows looks for programs in the PATH directories in order, from left to right.
You should only have one bin directory for a JDK in the path at a time. Those following the first instance are ignored.
3.安装Jenkins.war
- 下载最新的版本(一个 WAR 文件)。Jenkins官方网址: http://Jenkins-ci.org/
- 命运行运行 启动 Jenkins: java -jar jenkins.war (默认情况下端口是8080,如果要使用其他端口启动,可以通过命令行”java –jar Jenkins.war --httpPort=80”的方式修改)
4.启动Jenkins
切换到jenkins.war存放的目录,输入如下命令:Java -jar Jenkins.war, 然后再在浏览器输入: http://localhost:8080
5. 安装 Plugins for Jenkins
- 第一次启动 Jenskins, 需要输入Administrator 密码来unlock Jenkins(初始的管理员密码,jenkins自动生成的,根据上面红色的路径找到密码,拷到下面的输入框中)

- 安装plugins (安装插件,可以默认的安装,也可以自己选择,(jenkins配置好后也可以安装插件)这里我们选择默认的
- 登录 http://localhost:8080, 输入 Admin user 和 password
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 开发者必知的日志记录最佳实践
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· 开源Multi-agent AI智能体框架aevatar.ai,欢迎大家贡献代码
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· AI技术革命,工作效率10个最佳AI工具