public class GPSEnvVars extends Object
| Constructor and Description |
|---|
GPSEnvVars() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
executeGroovyScript(PrintStream logger,
hudson.model.BuildListener listener,
org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SecureGroovyScript script,
Map<String,String> envVars)
Executes the
SecureGroovyScript and returns a map generated by the script/ |
@Nonnull @Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public Map<String,String> executeGroovyScript(@Nonnull PrintStream logger, @Nonnull hudson.model.BuildListener listener, @CheckForNull org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SecureGroovyScript script, @Nonnull Map<String,String> envVars) throws Exception, hudson.AbortException
SecureGroovyScript and returns a map generated by the script/logger - a loggerlistener - a listenerscript - the scriptenvVars - any variables to bind to the script's contextException - for any exceptions generated by the script executionhudson.AbortException - if something is badly wrong.Copyright © 2016–2020. All rights reserved.