当前位置: 代码迷 >> 综合 >> docker安装Jenkins配置jdk等报错is not a directory on the Jenkins master(but perhaps it exists on some agents
  详细解决方案

docker安装Jenkins配置jdk等报错is not a directory on the Jenkins master(but perhaps it exists on some agents

热度:20   发布时间:2024-01-24 11:10:12.0

使用docker安装Jenkins配置jdk等报错is not a directory on the Jenkins master(but perhaps it exists on some agents。其实不止jdk还要maven

是因为本地的maven和java没有挂载到Jenkins容器:

解决方案(docker-compose.yml):

/usr/java/jdk1.8.0_181(本地 换成自己的):/usr/java/jdk1.8.0_181(docker)

/usr/local/maven:/usr/local/maven \

  相关解决方案