Jenkins : Google Admin SDK Plugin

Plugin Information

View Google Admin SDK on the plugin site for more information.

Adds Google Admin SDK API dependencies


The Jenkins Plugin with Google Admin SDK API dependencies. The Plugin adds no actual funktionality and used as shared library for the Jenkins groovy post-init scripts. e.g. get the Google Group Members and add all to the Matrix Authorization Table.



import org.jenkinsci.plugins.googleadmin.GoogleAdminService
def clientSecretFile "~/.credentials.json"
def adminAccountEmail = ""
String gsuiteGroup = ""
def googleService = new GoogleAdminService(clientSecretFile, adminAccountEmail)
String[] usersArray = googleService.getGroupMembers(gsuiteGroup)
	println "${it}"


Related Projects