1-1 Installing Jenkins
2022/7/30 23:24:20
本文主要是介绍1-1 Installing Jenkins,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!
Docker
安装配置
参考文档:
https://www.jenkins.io/doc/book/installing/
To use the latest LTS
docker pull jenkins/jenkins:lts-jdk11
docker-compose.yml
version: "3.1" services: jenkins: image: jenkins/jenkins:lts-jdk11 container_name: jenkins-docker ports: - 8080:8080 - 50000:50000 volumes: - ./data/:/var/jenkins_home
docker-compose 启动jenkins
启动 docker-compose -f jenkins-compose.yml up -d # 查看启动日志 docker logs jenkins-docker # 修改权限 chmod -R 777 data
setup wizard
Browse to http://ip:8080
docker logs jenkins-docker 可以查看password
Customizing Jenkins with plugins
Install suggested plugins - to install the recommended set of plugins, which are based on most common use cases.
Creating the first administrator user
继续选择admin 作为 管理员
完成安装。
这篇关于1-1 Installing Jenkins的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!
- 2024-03-30[译]漫画SELinux概念
- 2024-03-29linux 移动文件
- 2024-03-28linux .so file
- 2024-03-28Linux 磁盘管理
- 2024-03-28Linux学习笔记(十三)磁盘管理(一):磁盘分区
- 2024-03-26linux 创建 文件
- 2024-03-25使用SecureCRT对Linux vim进行颜色设置
- 2024-03-202019-2020-12 20199317 《Linux内核原理与分析》 第十二周作业
- 2024-03-20Linux运维的第二周总结
- 2024-03-13how to count number of directories in linux