summaryrefslogtreecommitdiffstats
path: root/jenkins-scripts
diff options
context:
space:
mode:
Diffstat (limited to 'jenkins-scripts')
-rwxr-xr-xjenkins-scripts/create_jenkins_user.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/jenkins-scripts/create_jenkins_user.sh b/jenkins-scripts/create_jenkins_user.sh
index cb45e7d0b..960b04b74 100755
--- a/jenkins-scripts/create_jenkins_user.sh
+++ b/jenkins-scripts/create_jenkins_user.sh
@@ -16,7 +16,7 @@
OS=$(facter operatingsystem | tr '[:upper:]' '[:lower:]')
groupadd jenkins
-useradd -m -s /bin/bash jenkins
+useradd -m -s /bin/bash -g jenkins jenkins
# Check if docker group exists
grep -q docker /etc/group