wiki/howto/development/ci.md
... ...
@@ -83,7 +83,7 @@ The image has been crafted specifically to contain the tools required for the bu
83 83
echo "deb https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 multiverse" >/etc/apt/sources.list.d/mongodb-org-4.4.list
84 84
apt-get -y update
85 85
apt-get -y upgrade
86
- apt-get -y install google-chrome-stable maven rabbitmq-server mongodb-org fwupd linux-aws linux-headers-aws linux-image-aws
86
+ apt-get -y install google-chrome-stable maven rabbitmq-server mongodb-org fwupd linux-aws linux-headers-aws linux-image-aws docker.io
87 87
apt-get -y autoremove
88 88
cd /tmp
89 89
wget https://chromedriver.storage.googleapis.com/2.41/chromedriver_linux64.zip
... ...
@@ -102,6 +102,9 @@ The image has been crafted specifically to contain the tools required for the bu
102 102
systemctl enable rabbitmq-server.service
103 103
adduser --system --shell /bin/bash --quiet --group --disabled-password sailing
104 104
adduser --system --shell /bin/bash --quiet --group --disabled-password hudson
105
+ adduser hudson docker
106
+ # Now log in to the docker registry at docker.sapsailing.com:443 with a valid user account for local user "hudson"
107
+ sudo -u hudson docker login docker.sapsailing.com:443
105 108
sudo -u sailing mkdir /home/sailing/.ssh
106 109
sudo -u sailing chmod 700 /home/sailing/.ssh
107 110
sudo -u hudson mkdir /home/hudson/.ssh
... ...
@@ -135,4 +138,4 @@ The ``launchhudsonslave`` script will then establish the SSH connection, launchi
135 138
136 139
## Hudson patch for mail-1.6.2
137 140
138
-With JDKs around 1.8.0_291 an original Hudson installation faces trouble when sending out e-mails through TLS-secured SMTP servers such as Amazon Simple Email Service (SES). The problem can be solved by replacing ``WEB-INF/lib/mail-1.4.4.jar`` in the ``/usr/lib/hudson/hudson.war`` file by a newer copy, such as ``mail-1.6.2.jar``, sometimes also referred to as ``com.sun.mail-1.6.2.jar`` or ``javax.mail-1.6.2.jar``. A correspondingly patched version can be found at [https://static.sapsailing.com/hudson.war.patched-with-mail-1.6.2](https://static.sapsailing.com/hudson.war.patched-with-mail-1.6.2).
... ...
\ No newline at end of file
0
+With JDKs around 1.8.0_291 an original Hudson installation faces trouble when sending out e-mails through TLS-secured SMTP servers such as Amazon Simple Email Service (SES). The problem can be solved by replacing ``WEB-INF/lib/mail-1.4.4.jar`` in the ``/usr/lib/hudson/hudson.war`` file by a newer copy, such as ``mail-1.6.2.jar``, sometimes also referred to as ``com.sun.mail-1.6.2.jar`` or ``javax.mail-1.6.2.jar``. A correspondingly patched version can be found at [https://static.sapsailing.com/hudson.war.patched-with-mail-1.6.2](https://static.sapsailing.com/hudson.war.patched-with-mail-1.6.2).