public class Bootstrap extends Object
| Modifier and Type | Field and Description |
|---|---|
static long |
CACHE_EXPIRE |
boolean |
help |
File |
jenkinsfile
Checked out copy of the working space.
|
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
@CheckForNull public Map<String,String> workflowParameters
public boolean noSandBox
public boolean showVersion
public boolean help
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.