public class Bootstrap extends Object
| Modifier and Type | Field and Description |
|---|---|
int |
buildNumber
BuildNumber of the Run.
|
static long |
CACHE_EXPIRE |
String |
cause
Cause of the Run.
|
boolean |
cliOnly |
boolean |
help |
File |
jenkinsfile
Checked out copy of the working space.
|
String |
jobName
Job name for the Run.
|
boolean |
keepUndefinedParameters |
String |
mirror |
boolean |
noSandBox |
File |
pluginsDir
Where to load plugins from?
|
File |
runHome
Jenkins Home for the Run.
|
File |
runWorkspace
Workspace for the Run
|
boolean |
showVersion |
String |
version |
File |
warDir
Exploded jenkins.war
|
Map<String,String> |
workflowParameters |
| Constructor and Description |
|---|
Bootstrap() |
| Modifier and Type | Method and Description |
|---|---|
ClassLoader |
createJenkinsWarClassLoader() |
ClassLoader |
createSetupClassLoader(ClassLoader jenkins) |
File |
getAppRepo() |
boolean |
hasClass(String className) |
static void |
main(String[] args) |
void |
postConstruct(org.kohsuke.args4j.CmdLineParser parser) |
int |
run() |
public static final long CACHE_EXPIRE
public File warDir
public String version
public File pluginsDir
public String mirror
public File jenkinsfile
@CheckForNull public File runWorkspace
@CheckForNull public File runHome
public String jobName
public String cause
public int buildNumber
public boolean noSandBox
public boolean showVersion
public boolean help
public boolean keepUndefinedParameters
public boolean cliOnly
@PostConstruct public void postConstruct(org.kohsuke.args4j.CmdLineParser parser) throws IOException
IOExceptionpublic ClassLoader createJenkinsWarClassLoader() throws IOException, NoSuchMethodException, InvocationTargetException, IllegalAccessException
public ClassLoader createSetupClassLoader(ClassLoader jenkins) throws IOException
IOExceptionpublic boolean hasClass(String className)
public File getAppRepo()
Copyright © 2004–2020. All rights reserved.