wiki/howto/development/ci.md
... ...
@@ -78,7 +78,7 @@ The image has been crafted specifically to contain the tools required for the bu
78 78
echo "deb https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 multiverse" >/etc/apt/sources.list.d/mongodb-org-4.4.list
79 79
apt-get -y update
80 80
apt-get -y upgrade
81
- apt-get -y install google-chrome-stable maven rabbitmq-server mongodb-org fwupd linux-aws linux-headers-aws linux-image-aws
81
+ apt-get -y install google-chrome-stable maven rabbitmq-server mongodb-org fwupd linux-aws linux-headers-aws linux-image-aws docker.io
82 82
apt-get -y autoremove
83 83
cd /tmp
84 84
wget https://chromedriver.storage.googleapis.com/2.41/chromedriver_linux64.zip
... ...
@@ -97,6 +97,9 @@ The image has been crafted specifically to contain the tools required for the bu
97 97
systemctl enable rabbitmq-server.service
98 98
adduser --system --shell /bin/bash --quiet --group --disabled-password sailing
99 99
adduser --system --shell /bin/bash --quiet --group --disabled-password hudson
100
+ adduser hudson docker
101
+ # Now log in to the docker registry at docker.sapsailing.com:443 with a valid user account for local user "hudson"
102
+ sudo -u hudson docker login docker.sapsailing.com:443
100 103
sudo -u sailing mkdir /home/sailing/.ssh
101 104
sudo -u sailing chmod 700 /home/sailing/.ssh
102 105
sudo -u hudson mkdir /home/hudson/.ssh
... ...
@@ -130,4 +133,4 @@ The ``launchhudsonslave`` script will then establish the SSH connection, launchi
130 133
131 134
## Hudson patch for mail-1.6.2
132 135
133
-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).