[MERGED] osmo-gsm-manuals[master]: osmo-gsm-tester: jenkins fixes: install JDK, SSH instructions

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Tue Jul 18 12:21:14 UTC 2017


Harald Welte has submitted this change and it was merged.

Change subject: osmo-gsm-tester: jenkins fixes: install JDK, SSH instructions
......................................................................


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
---
M OsmoGSMTester/chapters/install.adoc
1 file changed, 11 insertions(+), 1 deletion(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



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 @@
 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 @@
 
 ----
 # 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 @@
 ----
 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
 ----
 

-- 
To view, visit https://gerrit.osmocom.org/3266
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib2c1adc2ddee3be016e4d253451593b19dbe133a
Gerrit-PatchSet: 1
Gerrit-Project: osmo-gsm-manuals
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder



More information about the gerrit-log mailing list