public class Bootstrap extends Object
| Modifier and Type | Field and Description |
|---|---|
File |
appRepo
This system property is set by the bootstrap script created by appassembler Maven plugin
to point to a local Maven repository.
|
static long |
CACHE_EXPIRE |
File |
jenkinsfile
Checked out copy of the working space.
|
File |
pluginsDir
Where to load plugins from?
|
File |
runWorkspace
Workspace for the Run
|
String |
version |
File |
warDir
Exploded jenkins.war
|
| Constructor and Description |
|---|
Bootstrap() |
| Modifier and Type | Method and Description |
|---|---|
ClassLoader |
createJenkinsWarClassLoader() |
ClassLoader |
createSetupClassLoader(ClassLoader jenkins) |
static void |
main(String[] args) |
int |
run() |
public static final long CACHE_EXPIRE
public final File appRepo
public File warDir
public String version
public File pluginsDir
public File jenkinsfile
@CheckForNull public File runWorkspace
public ClassLoader createJenkinsWarClassLoader() throws IOException, NoSuchMethodException, InvocationTargetException, IllegalAccessException
public ClassLoader createSetupClassLoader(ClassLoader jenkins) throws IOException
IOExceptionCopyright © 2004–2019. All rights reserved.