Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Debian QA
jenkins.debian.net
Commits
223ae2f4
Commit
223ae2f4
authored
Mar 12, 2021
by
Philip Hands
Committed by
Holger Levsen
Mar 12, 2021
Browse files
swap if for case to make room for osuosl167
Signed-off-by:
Holger Levsen
<
holger@layer-acht.org
>
parent
6500bf16
Changes
1
Hide whitespace changes
Inline
Side-by-side
update_jdn.sh
View file @
223ae2f4
...
@@ -704,14 +704,17 @@ if [ "$HOSTNAME" = "jenkins" ] || [ "$HOSTNAME" = "ionos7-amd64" ] ; then
...
@@ -704,14 +704,17 @@ if [ "$HOSTNAME" = "jenkins" ] || [ "$HOSTNAME" = "ionos7-amd64" ] ; then
sudo
a2enmod macro
sudo
a2enmod macro
sudo
a2enmod filter
sudo
a2enmod filter
fi
fi
if
[
"
$HOSTNAME
"
=
"jenkins"
]
;
then
case
"
$HOSTNAME
"
in
sudo
a2ensite
-q
jenkins.debian.net
jenkins
)
sudo chown
jenkins-adm.jenkins-adm /etc/apache2/sites-enabled/jenkins.debian.net.conf
sudo
a2ensite
-q
jenkins.debian.net
sudo
a2enconf
-q
munin
sudo chown
jenkins-adm.jenkins-adm /etc/apache2/sites-enabled/jenkins.debian.net.conf
else
# "$HOSTNAME" = "ionos7-amd64"
sudo
a2enconf
-q
munin
sudo
a2ensite
-q
buildinfos.debian.net
;;
sudo chown
jenkins-adm.jenkins-adm /etc/apache2/sites-enabled/buildinfos.debian.net.conf
ionos7-amd64
)
fi
sudo
a2ensite
-q
buildinfos.debian.net
sudo chown
jenkins-adm.jenkins-adm /etc/apache2/sites-enabled/buildinfos.debian.net.conf
;;
esac
# for reproducible.d.n url rewriting:
# for reproducible.d.n url rewriting:
[
-L
/var/www/userContent
]
||
sudo ln
-sf
/var/lib/jenkins/userContent /var/www/userContent
[
-L
/var/www/userContent
]
||
sudo ln
-sf
/var/lib/jenkins/userContent /var/www/userContent
sudo
service apache2 reload
sudo
service apache2 reload
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment