Jenkins常见问题

1.端口8080被占用

在Windows命令行输入如下命令查找被占用的端口和终止占用端口的进程

netstat -aon|findstr 8080

taskkill /pid 查找到的进程号 -t -f

2.安装插件太慢

修改Jenkins安装文件夹中的文件hudson.model.UpdateCenter.xml,使用清华源(https://mirrors.tuna.tsinghua.edu.cn/jenkins/updates/update-center.json)

<?xml version='1.1' encoding='UTF-8'?>

<sites>

<site>

<id>default</id>

<url>https://mirrors.tuna.tsinghua.edu.cn/jenkins/updates/update-center.json\</url>

</site>

</sites>

3.Jenkins控制台中文乱码

可以设置环境变量 JAVA_TOOL_OPTIONS,它的值为:-Dfile.encoding=UTF-8。

或者在启动Jenkins时增加参数

Java -Dfile.encoding=UTF-8 -jar Jenkins.war

相关推荐
xingyuzhisuan1 天前
网络 Token 常见故障原理,基础排查科普
运维·服务器·网络·php
APIshop1 天前
Python 获取 1688 商品采集 API 接口 | 工厂货源自动化对接商品信息 | 无需选品
运维·python·自动化
wljy11 天前
二、进制状态转换
linux·运维·服务器·c语言·c++
handler011 天前
【MySQL】常用命令总结(库与表增删查改)
运维·数据库·mysql·命令·总结
week@eight1 天前
Linux - Doris
linux·运维·数据库·mysql
看到代码头都是大的1 天前
CentOS环境下手动升级openssl、openssh
linux·运维·centos
浮生若城1 天前
Linux——Ext系列文件系统
linux·运维·服务器
ITyunwei09871 天前
主流 SaaS 工单系统对比
运维·服务器·人工智能
weixin_548444261 天前
爆红处理APK 自动化编译流水线 v2026(英文名:APK AutoPipeline)
运维·自动化
枳实-叶1 天前
【Linux驱动开发】第16天:按键中断完整实战
linux·运维·驱动开发