From e5c7795dc9185272365ff340698c7d2f1e6f11ab Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Thu, 29 Nov 2012 19:11:24 -0500 Subject: [PATCH] Skip re-authentication if we have a valid session --- groovy/jenkins.groovy | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/groovy/jenkins.groovy b/groovy/jenkins.groovy index 41083d2..d76a3d6 100644 --- a/groovy/jenkins.groovy +++ b/groovy/jenkins.groovy @@ -48,11 +48,15 @@ * Bound Variables: * gitblit Gitblit Server com.gitblit.GitBlit * repository Gitblit Repository com.gitblit.models.RepositoryModel + * receivePack JGit Receive Pack org.eclipse.jgit.transport.ReceivePack * user Gitblit User com.gitblit.models.UserModel * commands JGit commands Collection<org.eclipse.jgit.transport.ReceiveCommand> * url Base url for Gitblit String * logger Logs messages to Gitblit org.slf4j.Logger * clientLogger Logs messages to Git client com.gitblit.utils.ClientLogger + * + * Accessing Gitblit Custom Fields: + * def myCustomField = repository.customFields.myCustomField * */ // Indicate we have started the script -- Gitblit v1.9.1