From 7f70511e9a13f4801e4e941affad6fc7b579c79d Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Wed, 10 Oct 2012 22:29:36 -0400 Subject: [PATCH] Support Team canAdmin, canCreate, and canFork (issue 36) --- 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