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
- IOException
InterruptedException
public String getResourceFileContent(String fileName) throws IOException
fileName
- IOException
public void runAll(String targetCode, String targetPackagesJson) throws IOException, InterruptedException, NoSuchAlgorithmException, org.jenkinsci.lib.envinject.EnvInjectException, UnsupportedEncodingException, DotNetPluginException, DotNetCommandLineException
targetCode
- targetPackagesJson
- IOException
InterruptedException
NoSuchAlgorithmException
org.jenkinsci.lib.envinject.EnvInjectException
UnsupportedEncodingException
DotNetPluginException
DotNetCommandLineException
Copyright © 2016–2017. All rights reserved.