问题描述
jenkins启动之后会在home目录下生成一个".owner"文件,里面标识了本次jenkins实例的唯一标识,文件格式如下:
This Jenkins: 1612182264 contextpath="" at [email protected]
有可能会遇到如下错误:
Jenkins detected that you appear to be running more than one instance of Jenkins that share the same home directory '/home/apache-tomcat-8.5.73/work’. This greatly confuses Jenkins and you will likely experience strange behaviors, so please correct the situation.
This Jenkins: 1612182264 contextpath="" at [email protected]
Other Jenkins: 2144180199 contextpath="/jenkins-new" at [email protected]
2.解决方案
2.1 临时解决方案
每次点击ignore忽略这个警告,但是每次出现这个问题的时候,就比较麻烦了。