[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] add stretch-backports to sources.list
Holger Levsen
gitlab at salsa.debian.org
Tue Dec 18 20:23:29 GMT 2018
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
3ff7ca51 by Holger Levsen at 2018-12-18T20:23:19Z
add stretch-backports to sources.list
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
1 changed file:
- init_node
Changes:
=====================================
init_node
=====================================
@@ -29,6 +29,7 @@ addgroup --system jenkins-adm
adduser --system --shell /bin/bash --home /home/jenkins-adm --ingroup jenkins-adm --disabled-login jenkins-adm
usermod -G jenkins jenkins-adm
echo '%jenkins-adm ALL= NOPASSWD: ALL' > /etc/sudoers.d/jenkins-adm # will be overwritten later
+grep -q stretch-backports /etc/apt/sources.list || echo "deb http://deb.debian.org/debian/ stretch-backports main contrib non-free" > /etc/apt/sources.list
chown jenkins-adm.jenkins-adm /home/jenkins-adm
cd ~jenkins-adm
[ -x /usr/bin/git ] || apt-get install -y git
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/3ff7ca515c879d27382f29ec115b7e85d81c7f3a
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/3ff7ca515c879d27382f29ec115b7e85d81c7f3a
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20181218/f9713e2d/attachment.html>
More information about the Qa-jenkins-scm
mailing list