aboutsummaryrefslogtreecommitdiffstats
path: root/testing/jenkins/jenkins.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'testing/jenkins/jenkins.pre-install')
-rw-r--r--testing/jenkins/jenkins.pre-install5
1 files changed, 5 insertions, 0 deletions
diff --git a/testing/jenkins/jenkins.pre-install b/testing/jenkins/jenkins.pre-install
new file mode 100644
index 0000000000..4db91f860f
--- /dev/null
+++ b/testing/jenkins/jenkins.pre-install
@@ -0,0 +1,5 @@
+#!/bin/sh
+addgroup -S jenkins 2>/dev/null
+adduser -S -D -h /var/lib/jenkins -s /sbin/nologin -G jenkins -g jenkins jenkins 2>/dev/null
+exit 0
+