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 |
help |
File |
jenkinsfile
Checked out copy of the working space.
|
String |
jobName
Job name for the Run.
|
boolean |
keepUndefinedParameters |
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) |
int |
run() |
public static final long CACHE_EXPIRE
public File warDir
public String version
public File pluginsDir
public File jenkinsfile
@CheckForNull public File runWorkspace
@CheckForNull public File runHome
public String jobName
public String cause
public int buildNumber
@CheckForNull public Map<String,String> workflowParameters
public boolean noSandBox
public boolean showVersion
public boolean help
public boolean keepUndefinedParameters
public ClassLoader createJenkinsWarClassLoader() throws IOException, NoSuchMethodException, InvocationTargetException, IllegalAccessException
public ClassLoader createSetupClassLoader(ClassLoader jenkins) throws IOException
IOExceptionpublic boolean hasClass(String className)
public File getAppRepo()
Copyright © 2004–2019. All rights reserved.