This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository maintenancescripts. commit e44224637bd03cf7e937fc3dcd20cf8325f5c846 Author: Mihai Moldovan <ionic@ionic.de> Date: Sat Dec 3 04:07:24 2022 +0100 git/hooks/post-receive: add token support for Jenkins authentication. --- git/hooks/post-receive | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/git/hooks/post-receive b/git/hooks/post-receive index d4e6ff6..7efe221 100755 --- a/git/hooks/post-receive +++ b/git/hooks/post-receive @@ -13,9 +13,10 @@ # rename the file to "post-receive". . "hooks/common.sh" +. "hooks/token.sh" GIT_REPO_URL="git://code.x2go.org/${GIT_REPO_NAME}" -curl "http://jenkins.x2go.org:8080/git/notifyCommit?url=${GIT_REPO_URL}" +curl "http://jenkins.x2go.org:8080/git/notifyCommit?url=${GIT_REPO_URL}&token=${JENKINS_TOKEN}" exec /usr/bin/pee \ "${OUTSIDE_REPO}/x2go-post-receive-tag-pending" \ -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/maintenancescripts.git