Google Admin SDK

Version: 1.2.2Minimum Jenkins requirement: 2.7.3ID: google-admin-sdk
Installs: 103
Last released:
Maintainers
Roman Rogozhnikov

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
Links
Labels
This plugin has no labels