Jenkins CI on Tizen OS
In order to install Jenkins Continuous Integration server, you will need Java installed, and optionally Apache Ant and Maven. Download the latest RedHat rpm, don’t worry, the RedHat rpms are noarch so they will install on Tizen without any issues. Install the rpm.
$ wget http://pkg.jenkins-ci.org/redhat/jenkins-1.645-1.1.noarch.rpm
$ rpm -ivh jenkins-1.645-1.1.noarch.rpm
Copy the code below into a file named jenkins.service and upload it to the /etc/systemd/system/ directory.
[Unit]
Description=Jenkins Daemon
[Service]
ExecStart=/usr/local/java/bin/java -jar /usr/lib/jenkins/jenkins.war
User=jenkins
[Install]
WantedBy=multi-user.target
You can either autostart Jenkins on each boot or start it manually (I recommend you to start it manually). To make Jenkins run automatically on each boot:
$ systemctl enable jenkins && systemctl start jenkins
To start it manually, just type:
$ systemctl start jenkins
If you need Apache Ant and/or Maven, just download the binary archives from their respective websites and extract them somewhere (preferably /usr/lib/, creating the /usr/lib/ant and /usr/lib/maven directories.), then point the ANT_HOME and MAVEN_HOME variables to those directories.
$ export ANT_HOME=/usr/lib/ant
$ export MAVEN_HOME=/usr/lib/maven
Check out the Jenkins documentation for more info about how to configure and work with your new CI server.
permalink http://sizeof.cat/post/jenkins-ci-on-tizen/
created January 30, 2016
words 184
tags #tizen, #operating system
A series is usually a collection of multiple website posts about the same subject and dependent of each others. This article is from the Tizen operating system series:
- Flashing Tizen on newer Linux
- LuaJIT on Tizen OS
- Jenkins CI on Tizen OS
- Tizen 2.3.1 u-boot settings and partition info
- Tizen 2.3 and later tips and tricks - part 1
- Tizen development devices
- git on Tizen 2.3.1
- Customizing Tizen OS 2.3.1 on your RD-PQ
- Install SSH server on Tizen 2.3.1 for RD-PQ
- Install Tizen 2.3.1 on Samsung RD-PQ
























