Google Admin SDK

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}"