[postgis-tickets] [SCM] PostGIS Buildbots; Jenkins jobs and instructions for setting up winnie and debbie bots. branch master updated. 682338563d4937fea8ac900e3c5dc69ba75b7d99

git at osgeo.org git at osgeo.org
Mon Sep 30 09:31:05 PDT 2019


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "PostGIS Buildbots; Jenkins jobs and instructions for setting up winnie and debbie bots.".

The branch, master has been updated
       via  682338563d4937fea8ac900e3c5dc69ba75b7d99 (commit)
       via  3f33029a1589d5d27eb6291a14a95911c2535058 (commit)
      from  863c8e7d09f3fbdb1ff129f48392534cb88986b3 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 682338563d4937fea8ac900e3c5dc69ba75b7d99
Author: Regina Obe <lr at pcorp.us>
Date:   Mon Sep 30 12:31:00 2019 -0400

    Basic setup of jenkins bot

diff --git a/jenkins_bot.md b/jenkins_bot.md
index 2d5bf52..69e2cb4 100644
--- a/jenkins_bot.md
+++ b/jenkins_bot.md
@@ -21,3 +21,9 @@ echo ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDJtY+MMy9E+iHf3g8fTlUUnJiZgGVtZC8MAnn
 chmod 700 ~/.ssh
 chmod 600 ~/.ssh/authorized_keys
 
+#Once you have server ready for jenkins, from jenkins add console
+1) Add as a node
+2) In the configure it asks for path info for JDK location
+3) Specify host name and ssh port
+4) Click button to test.  It should ssh in deploy slave.jar etc.
+

commit 3f33029a1589d5d27eb6291a14a95911c2535058
Author: Regina Obe <lr at pcorp.us>
Date:   Mon Sep 30 12:29:21 2019 -0400

    Basic setup of jenkins bot

diff --git a/jenkins_bot.md b/jenkins_bot.md
new file mode 100644
index 0000000..2d5bf52
--- /dev/null
+++ b/jenkins_bot.md
@@ -0,0 +1,23 @@
+### Steps to configuring a Jenkins slave bot
+Jenkins bots need Java installed
+OpenJDK 11 or higher is preferrable
+
+
+adduser jenkins
+#for password based authentication answer no
+#Make sure jenkins is in AllowUsers list of /sshd_config
+cat /etc/ssh/sshd_config | grep AllowUsers #if jenkins not listed add
+vi /etc/ssh/sshd_config #:g/AllowUsers/, :g/PermitRootLogin #change to yes so can configure - can change later to no
+service sshd restart  
+
+#add key to list
+su jenkins
+cd ~/
+mkdir .ssh
+
+echo ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDJtY+MMy9E+iHf3g8fTlUUnJiZgGVtZC8MAnniU0vMPcK1I6V4PBV60L3vLE/gEph/91wR7VqjGKYZyV9a8Jdl1oQdXJy/s+Y2jjLyYWqLkuFXw4I7NrgBfJxMsSYrk7pCsAgJGEVI6dljU0PnO3oAvJOh7YYJkjA/IMd7bn0nxmbVIyZo2EJLTLJts5sXhfbOqCoM9CdLWUPNp6G4UdBXqjbmTgUvNCu+aR/kDteyaZNuIGjaZcF+6JHPOMQ7izpoyHnNX5mwMoz4shVHi8dzdH+X47v708cV3cfb2F0wqzmFAt4XuwzAmrpPGSfrLX0PViPXwyKPF16waJFdAT4gP7d07F5U4QJq+16BVkph0tpq3VrIDToLPtufxButWvdAi++qdwY2oC/erc1HmAIlBv2o86147H6FiTpq3wrSjwwEVbF+EHsA2OSCbnfKHIwAaEPoaT8w8RxduO5pddU+T5IRTixhZOZ1jUt4mHJkDLmMBWgj7yh0Lyv0C8lF2rCbZACHV3Dq0MtejTMbC6MKDc3X+dzh+KPseZiH6vdMZgMRw4grLkXygK7yCfhlhZ+UvvaUmvuaqZX3VDRIPTMHpKAI3y08mV+orn8JzfVDFMsbc1i9iIllJSf0ZZLf6pjMLc9AxP0zi/PIH+l1RCz9yVnCczuWdY6tMPfOKglTPQ== jenkins_slave at postgis.net >> ~/.ssh/authorized_keys
+
+#if issue with permissions make sure to update
+chmod 700 ~/.ssh
+chmod 600 ~/.ssh/authorized_keys
+

-----------------------------------------------------------------------

Summary of changes:
 jenkins_bot.md | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 jenkins_bot.md


hooks/post-receive
-- 
PostGIS Buildbots; Jenkins jobs and instructions for setting up winnie and debbie bots.


More information about the postgis-tickets mailing list