public class DotNetAsScriptPluginFacade extends Object
| Constructor and Description |
|---|
DotNetAsScriptPluginFacade(PrintStream logger,
hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
The facade to encapsulate the engine
|
| Modifier and Type | Method and Description |
|---|---|
String |
getResourceFileContent(String fileName)
Gets the target resource file as string
|
void |
runAll(String targetCode,
String targetPackagesJson)
Runs the plugin configuration
|
public DotNetAsScriptPluginFacade(PrintStream logger, @Nonnull hudson.model.AbstractBuild<?,?> build, @Nonnull hudson.Launcher launcher, @Nonnull hudson.model.BuildListener listener) throws IOException, InterruptedException
logger - build - launcher - listener - IOExceptionInterruptedExceptionpublic String getResourceFileContent(String fileName) throws IOException
fileName - IOExceptionpublic void runAll(String targetCode, String targetPackagesJson) throws IOException, InterruptedException, NoSuchAlgorithmException, org.jenkinsci.lib.envinject.EnvInjectException, UnsupportedEncodingException, DotNetPluginException, DotNetCommandLineException
targetCode - targetPackagesJson - IOExceptionInterruptedExceptionNoSuchAlgorithmExceptionorg.jenkinsci.lib.envinject.EnvInjectExceptionUnsupportedEncodingExceptionDotNetPluginExceptionDotNetCommandLineExceptionCopyright © 2016–2017. All rights reserved.