Difference between revisions of "Jenkins"

From RobotinoWiki
(Jenkins Browser init Setup and Plugins follow on)
(User and Permissions)
Line 27: Line 27:
 
Webgui --> Manage Jenkins --> Configure Global Security:
 
Webgui --> Manage Jenkins --> Configure Global Security:
 
  - Authorization -> Anyone can do anything
 
  - Authorization -> Anyone can do anything
 +
</pre>
 +
 +
Configure only one Executor:
 +
<pre>
 +
Webgui --> Manage Jenkins --> Configure System:
 +
Maven Project Configuration # of executors 1
 
</pre>
 
</pre>

Revision as of 10:47, 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