We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35c76a5 commit 1a409caCopy full SHA for 1a409ca
packaging/docker/run.sh.in
@@ -91,7 +91,8 @@ fi
91
git config --local --get user.name || git config user.name "${JENKINS_GIT_USER}"
92
git config --local --get user.email || git config user.email "${JENKINS_GIT_EMAIL}"
93
git add -A
94
-git commit -m 'pre-start checkpoint commit saving configs'
+#commit only if changes exist
95
+git diff-index --quiet HEAD || git commit -m 'pre-start checkpoint commit saving configs'
96
97
#save the current version of the bootstrapper to JENKINS_HOME on startup
98
echo "Overwriting manifest in '${JENKINS_HOME}/plugins/@@MANIFEST@@'."
0 commit comments