Google Admin SDK

ID: google-admin-sdk

Adds Google Admin SDK API dependencies


Description

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.

Usage

 

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

 

Related Projects

 

ArchivesGet past versions
Version: 1.2.2
Released:
Requires Jenkins 2.7.3
Installs: 104
Labels
This plugin has no labels
Maintainers
Roman Rogozhnikov
Help us improve this page!
This content is served from the Jenkins Wiki the read-only state. We recommend moving the plugin documentation to GitHub, see the guidelines.