jenkins配置文件

[root@localhost ~]# rpm -ql jenkins
/etc/init.d/jenkins
/etc/logrotate.d/jenkins
/etc/sysconfig/jenkins
/usr/bin/jenkins
/usr/lib/systemd/system/jenkins.service
/usr/sbin/rcjenkins
/usr/share/java/jenkins.war
/usr/share/jenkins
/usr/share/jenkins/migrate
/var/cache/jenkins
/var/lib/jenkins
/var/log/jenkins

jenkins是由xml文件组成的,也是针对某个用户生成的文件

用户配置信息

/var/lib/jenkins/users/admin/config.xml

jenkins主配置文件

grep -Ev "^$|^#" /etc/sysconfig/jenkins

检查jenkins时间

脚本命令行
System.setProperty('org.apache.commons.jelly.tags.fmt.timeZone', 'Asia/Shanghai')

posted on 2023-07-18 17:36  sprr  阅读(240)  评论(0编辑  收藏  举报