Difference between revisions of "Jenkins"

From RobotinoWiki
(User and Permissions)
(User and Permissions)
Line 34: Line 34:
 
Maven Project Configuration # of executors 1
 
Maven Project Configuration # of executors 1
 
</pre>
 
</pre>
 +
 +
==Packages==
 +
[[Debrepository|Robotino repository]]
 +
 +
<pre>
 +
apt-get -y --allow install ssh-askpass git flex bison htop tree cmake cmake-curses-gui subversion sbcl doxygen
 +
apt-get -y --allow install meld expect wmctrl libboost-all-dev libftdi-dev build-essential pkg-config freeglut3-dev zlib1g-dev zlibc
 +
apt-get -y --allow install libusb-1.0-0-dev libdc1394-22-dev libavformat-dev libswscale-dev lib3ds-dev libjpeg-dev libgtest-dev
 +
apt-get -y --allow install libeigen3-dev libglew-dev vim vim-gnome libxml2-dev libxml++2.6-dev libmrpt-dev
 +
apt-get -y --allow install ssh sshfs xterm libjansson-dev
 +
apt-get -y --allow install libsystemd-dev git robotino-api2 robotino-dev
 +
apt-get -y --allow install gmapping ompl ompl-dev aruco libace-dev libopencv-dev libpcl-dev
 +
 +
apt-get -y --allow qt5-deafult libqt5serialport5-dev
 +
 +
apt-key adv --keyserver keys.gnupg.net --recv-key C8B3A55A6F3EFCDE || sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 -- recv-key C8B3A55A6F3EFCDE
 +
add-apt-repository "deb http://realsense-hw-public.s3.amazonaws.com/Debian/apt-repo bionic main" -u
 +
apt-get install librealsense2-dev

Revision as of 09:55, 15 May 2019

Install Jenkins

apt install openjdk-8-jdk
wget -q -O - https://pkg.jenkins.io/debian/jenkins.io.key | sudo apt-key add -
echo "deb http://pkg.jenkins.io/debian-stable binary/" > /etc/apt/sources.list.d/jenkins.list
apt-get update
apt install jenkins

Jenkins Browser init Setup and Plugins follow on

https://localhost:8080

Install suggested plug-ins, add the following plug-ins additionally:

  • CMake
  • Bulk Builder
  • Debian Package Builder
  • Multijob
  • Priority Sorter Plugin
  • Publish Over SSH

User and Permissions

Create user Account (one user should typically be ok)

Enable anonymous access to allow installation of jobs via scripts:

Webgui --> Manage Jenkins --> Configure Global Security:
 - Authorization -> Anyone can do anything

Configure only one Executor:

Webgui --> Manage Jenkins --> Configure System:
Maven Project Configuration # of executors 1

Packages

Robotino repository

apt-get -y --allow install ssh-askpass git flex bison htop tree cmake cmake-curses-gui subversion sbcl doxygen
apt-get -y --allow install meld expect wmctrl libboost-all-dev libftdi-dev build-essential pkg-config freeglut3-dev zlib1g-dev zlibc
apt-get -y --allow install libusb-1.0-0-dev libdc1394-22-dev libavformat-dev libswscale-dev lib3ds-dev libjpeg-dev libgtest-dev
apt-get -y --allow install libeigen3-dev libglew-dev vim vim-gnome libxml2-dev libxml++2.6-dev libmrpt-dev
apt-get -y --allow install ssh sshfs xterm libjansson-dev
apt-get -y --allow install libsystemd-dev git robotino-api2 robotino-dev
apt-get -y --allow install gmapping ompl ompl-dev aruco libace-dev libopencv-dev libpcl-dev

apt-get -y --allow qt5-deafult libqt5serialport5-dev

apt-key adv --keyserver keys.gnupg.net --recv-key C8B3A55A6F3EFCDE || sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 -- recv-key C8B3A55A6F3EFCDE
add-apt-repository "deb http://realsense-hw-public.s3.amazonaws.com/Debian/apt-repo bionic main" -u
apt-get install librealsense2-dev