Ubuntu18.04安装jenkins

Posted 捷后愚生

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Ubuntu18.04安装jenkins相关的知识,希望对你有一定的参考价值。

官网参考指引:https://pkg.jenkins.io/debian-stable/

wget -q -O - https://pkg.jenkins.io/debian-stable/jenkins.io.key | sudo apt-key add -

deb https://pkg.jenkins.io/debian-stable binary/

sudo apt-get update

sudo apt-get install jenkins

uni@uni-virtual-machine:~$ wget -q -O - https://pkg.jenkins.io/debian-stable/jenkins.io.key | sudo apt-key add -
[sudo] uni 的密码: 
OK
uni@uni-virtual-machine:~$ deb https://pkg.jenkins.io/debian-stable binary/

Command \'deb\' not found, did you mean:

  command \'dub\' from snap dub (1.19.0)
  command \'den\' from snap den (1.2.0-0)
  command \'debc\' from deb devscripts
  command \'edb\' from deb edb-debugger
  command \'xdeb\' from deb xdeb
  command \'debi\' from deb devscripts
  command \'deb3\' from deb quilt
  command \'derb\' from deb icu-devtools
  command \'dep\' from deb go-dep
  command \'dab\' from deb bsdgames
  command \'dub\' from deb dub
  command \'dex\' from deb dex

See \'snap info <snapname>\' for additional versions.

以上是关于Ubuntu18.04安装jenkins的主要内容,如果未能解决你的问题,请参考以下文章

ubuntu18.04配置Java环境,搭建Jenkins

ubuntu18.04配置Java环境,搭建Jenkins

用Ubuntu快速安装Jenkins

Ubuntu18.04 Server安装Harbor

docker 安装jenkins

Wordpress 网站在 Ubuntu 18.04 LTS 上全新安装 VirtualMin 后显示 php 代码