2021-03-05

安装jenkins
Password: --------------
Reference:
https://www.cnblogs.com/gufengchen/p/13281116.html
https://phoenixnap.com/kb/how-to-install-java-centos-8在这里插入图片描述

https://linuxize.com/post/how-to-install-jenkins-on-centos-7/
https://linoxide.com/ubuntu-how-to/install-java-ubuntu-20-04/

https://medium.com/try-except-finally/install-jenkins-on-wsl-ubuntu-d6cfeec8cd60
Make an apt update, or JRE may download incomplete,
sudo apt update
Install Java Runtime Environment (JRE)
sudo apt install default-jdk default-jre

Right here, I will test if java installed by this
Java -version
Setup GPG keys of the Jenkins repository
wget -q -O - https://pkg.jenkins.io/debian/jenkins.io.key | sudo apt-key add -
Add Jenkins repository
sudo sh -c “echo deb http://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list”
Make an apt update before installing, since you just add a new repository,
sudo apt update
Install Jenkins via apt
sudo apt install jenkins
Start Jenkins services by
sudo /etc/init.d/jenkins start
Launch Jenkins
Launch your browser and navigate to
http://{your_ip}:8080
http://localhost:8080
http://localhost:8080/jenkins

s
password
sudo vi /var/lib/jenkins/secrets/initialAdminPassword

http://localhost:8080/
Instance Configuration

http://localhost:8080/

Gitlab 账号


https://stackoverflow.com/questions/33883551/error-installing-ruby-runtime-in-jenkins

ruby-runtime jdk-8
Gitlab Hook

Jdk 8 is supported well ,while jdk-11 is not supported on ruby-runtime.
It is Known issue at https://stackoverflow.com/questions/33883551/error-installing-ruby-runtime-in-jenkins
Solution is jdk8.

在这里插入图片描述

在这里插入图片描述

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值