Jenkins On Orangepi
Some time ago I decided to buy a Orange Pi pc. It is really close to Raspberry pi, however it is much cheaper. The objective of this small server is to be used as continuous integration server installing on it Jenkins and another tools.
Introduction
Based on wikipedia post CI is: In software engineering, continuous integration (CI) is the practice of merging all developer working copies to a shared mainline several times a day. In XP, CI was intended to be used in combination with automated unit tests written through the practices of test-driven development. Initially this was conceived of as running all unit tests in the developer’s local environment and verifying they all passed before committing to the mainline. This helps avoid one developer’s work-in-progress breaking another developer’s copy. If necessary, partially complete features can be disabled before commit, such as by using feature toggles.
Hardware
There are some alternatives to Orange pi like Raspberry pi. I decide to use Orange pi because is cheaper, however Raspberry pi alternative is better documented an easier to use. It is up to you to decide.
Main charactersitics from Orange pi are:
Hardware specification |
||
CPU |
H3 Quad-core Cortex-A7 H.265/HEVC 4K |
|
GPU |
·Mali400MP2 GPU @600MHz |
|
Memory (SDRAM) |
1GB DDR3 (shared with GPU) |
|
Onboard Storage |
TF card (Max. 64GB) / MMC card slot |
|
Onboard Network |
10/100M Ethernet RJ45 |
|
Power Source |
DC input can supply power, but USB OTG input don’t supply power |
|
USB 2.0 Ports |
Three USB 2.0 HOST, one USB 2.0 OTG |
Software
There are plenty of OS that you can install, in my case I decided to use ARMBian. As a CI server I will use Jenkins. It fits my requirements and I am used to it. In order to install Jenkins Java must be installed before.
Os
In order to use ARMBian you have to download the image and copy in to a SD card. I had some problems because I tried with different software to do it. The only one that worked properly was Win32diskManager.
After that you have to boot the system and update it:
Jenkins
First of all Java must be installed:
if you want to set Oracle Java 8 as default:
Check java version installed:
Finally install Jenkins:
Upgrade and install:
Now you can access to your server ip using 8080 port.