当前位置:网站首页>安装jenkins
安装jenkins
2022-06-27 07:29:00 【lv_code】
Docker安装Jenkins教程
介绍
Jenkins是一个开源软件项目,是基于Java开发的一种持续集成工具,用于监控持续重复的工作,旨在提供一个开放易用的软件平台,使软件的持续集成变成可能。
前提
安装docker
安装
拉取镜像
docker pull jenkins/jenkins
//创建目录
mkdir -p /var/jenkins_home
//授权权限
chmod 777 /var/jenkins_home
docker run -d -p 10240:8080 -p 10241:50000 -v /var/jenkins_home:/var/jenkins_home -v /etc/localtime:/etc/localtime --name myjenkins jenkins/jenkins
查看是否启动
docker ps
[[email protected] ~]# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
03c58b9ee2a8 jenkins/jenkins "/sbin/tini -- /usr/…" 15 minutes ago Up 15 minutes 0.0.0.0:10240->8080/tcp, :::10240->8080/tcp, 0.0.0.0:10241->50000/tcp, :::10241->50000/tcp myjenkins
浏览器登录安装插件
登录地址:http://IP:10240
解锁Jenkins,获取解锁密码 vim /var/jenkins_home/secrets/initialAdminPassword
选择默认安装插件即可。
安装成功后,使用设置的用户名和密码即可登录Jenkins了。
边栏推荐
- 碎煤机crusher
- js输出形状
- Remote connection raspberry pie in VNC Viewer Mode
- postgreSQL在windows系统遇到权限否认(permission denied)
- volatile 和 synchronized 到底啥区别?
- [Kevin's third play in a row] is rust really slower than C? Further analyze queen micro assessment
- Rust中的Pin详解
- The interviewer of a large front-line factory asked: do you really understand e-commerce order development?
- Websocket database listening
- Window right click management
猜你喜欢
随机推荐
Jupiter notebook file directory
Use uview to enable tabbar to display the corresponding number of tabbars according to permissions
window右键管理
语音合成:Tacotron详解【端到端语音合成模型】【与传统语音合成相比,它没有复杂的语音学和声学特征模块,而是仅用<文本序列,语音声谱>配对数据集对神经网络进行训练,因此简化了很多流程】
Nature、science、cell旗下刊物
PostgreSQL encounters permission denied in Windows system
C# 请问怎么在更新数据库时候调用line与rows
R 语言 基于关联规则与聚类分析的消费行为统计
Apifox learning
Cookie encryption 7 fidder analysis phase
Yarn create vite reports an error 'd:\program' which is neither an internal or external command nor a runnable program or batch file
专业四第二周自测
Speech signal processing - concept (I): time spectrum (horizontal axis: time; vertical axis: amplitude), spectrum (horizontal axis: frequency; vertical axis: amplitude) -- Fourier transform -- > time
How to add data to the back-end database in the form of Excel file on the web page
请问如何在网页通过excel文件的形式向后段数据库添加数据
Speech signal feature extraction process: input speech signal - framing, pre emphasis, windowing, fft- > STFT spectrum (including amplitude and phase) - square the complex number - > amplitude spectru
Self test in the second week of major 4
One person manages 1000 servers? This automatic operation and maintenance tool must be mastered
使用 Blackbox Exporter 测试网络连通性
R language analyzing wine data
![log4j:WARN No such property [zipPermission] in org. apache. log4j. RollingFileAppender.](/img/2c/425993cef31dd4c786f9cc5ff081ef.png)








