From a92b6bfe17b169b8e05dac16cfd4961387875bd8 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Wed, 17 Oct 2012 22:51:43 -0400 Subject: [PATCH] debian: Fill in gecos field for jenkins user Otherwise when Jenkins runs git, git will complain that the identity is not set up correctly and will fail. --- debian/debian/jenkins.postinst | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/debian/jenkins.postinst b/debian/debian/jenkins.postinst index c114ab5fca..000499bd6e 100644 --- a/debian/debian/jenkins.postinst +++ b/debian/debian/jenkins.postinst @@ -30,6 +30,7 @@ case "$1" in if ! id $JENKINS_USER > /dev/null 2>&1 ; then adduser --system --home /var/lib/jenkins --no-create-home \ --ingroup nogroup --disabled-password --shell /bin/bash \ + --gecos 'Jenkins' \ $JENKINS_USER fi