如果你也有一个吃灰的树莓派,不如也装个Jenkins,一起来写pipeline吧。
参考下面的文档,Jenkins成功安装
https://wiki.jenkins.io/display/JENKINS/Installing+Jenkins+on+Ubuntu
- 安装Java
方法: https://blog.csdn.net/countofdane/article/details/104132711
pi@raspberrypi:~ $ java -version
java version "1.8.0_65"
Java(TM) SE Runtime Environment (build 1.8.0_65-b17)
Java HotSpot(TM) Client VM (build 25.65-b01, mixed mode)
- 安装Jenkins
wget -q -O - https://pkg.jenkins.io/debian/jenkins-ci.org.key | sudo apt-key add -
sudo sh -c 'echo deb http://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list'
sudo apt-get update
sudo apt-get install jenkins
参考文章