Jenkins 基础

2022-03-21 17:53:58 浏览数 (1)

前言

Jenkins 是一个现在使用相当广泛的持续集成,持续交付开源工具,网络公司的快速迭代都会使用到此类工具

Jenkins is an award-winning, cross-platform, continuous integration and continuous delivery application that increases your productivity. Use Jenkins to build and test your software projects continuously making it easier for developers to integrate changes to the project, and making it easier for users to obtain a fresh build. It also allows you to continuously deliver your software by providing powerful ways to define your build pipelines and integrating with a large number of testing and deployment technologies.

jenkins 是自动运维的经典代表,下面分享一下它的基础操作,详细可以参阅 官方文档

Tip: 当前的最新版本为 jenkins 1.642


概要


安装

最新版的安装

代码语言:javascript复制
sudo wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.repo
sudo rpm --import https://jenkins-ci.org/redhat/jenkins-ci.org.key
sudo yum install jenkins

稳定版的安装

代码语言:javascript复制
sudo wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat-stable/jenkins.repo
sudo rpm --import https://jenkins-ci.org/redhat/jenkins-ci.org.key
sudo yum install jenkins

0 人点赞