aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-07-14 00:04:40 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-07-17 14:43:10 +0200
commitbed4162c70f4a41c79c68af118d53bce4aa3405c (patch)
treeeac24b5ca2d0e7259921493e40331649582b8404
parent3bcb9f4c151205a743162eb740f77d9b6dfaa2b1 (diff)
osmo-gsm-tester: jenkins fixes: install JDK, SSH instructions
Add instructions to install Java JDK for jenkins build slave. Minor fixes to SSH key instructions. Change-Id: Ib2c1adc2ddee3be016e4d253451593b19dbe133a
-rw-r--r--OsmoGSMTester/chapters/install.adoc12
1 files changed, 11 insertions, 1 deletions
diff --git a/OsmoGSMTester/chapters/install.adoc b/OsmoGSMTester/chapters/install.adoc
index b703498..0c69dcd 100644
--- a/OsmoGSMTester/chapters/install.adoc
+++ b/OsmoGSMTester/chapters/install.adoc
@@ -64,6 +64,15 @@ On the main unit, create a jenkins user:
useradd -m jenkins
----
+==== Install Java on Main Unit
+
+To be able to launch the Jenkins build slave, a Java RE must be available on
+the main unit. For example:
+
+----
+apt-get install default-jdk
+----
+
==== Allow SSH Access from Jenkins Master
Create an SSH keypair to be used for login on the osmo-gsm-tester. This may be
@@ -73,6 +82,7 @@ Login on the main jenkins server shell and create an SSH keypair, for example:
----
# su jenkins
+$ mkdir -p /usr/local/jenkins/keys
$ ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/home/jenkins/.ssh/id_rsa): /usr/local/jenkins/keys/osmo-gsm-tester-rnd
@@ -122,7 +132,7 @@ unit:
----
su jenkins
main_unit_ip=10.9.8.7
-ssh jenkins@$main_unit_ip
+ssh -i /usr/local/jenkins/keys/osmo-gsm-tester-rnd jenkins@$main_unit_ip
exit
----