| Modifier and Type | Class and Description |
|---|---|
static class |
FileJobSource.DescriptorImpl |
JobSource.JobSourceDescriptorDEFAULT_JOB_PREFIX, DEFAULT_JOB_SUFFIX, jobName| Constructor and Description |
|---|
FileJobSource(String jobName,
String jobPath) |
| Modifier and Type | Method and Description |
|---|---|
File |
createJobFile(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener)
Reads job XML from file and expands variable by calling
JobSource.createDefaultJobFile(String, AbstractBuild, BuildListener). |
protected String |
expandJobPath(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener) |
FileJobSource.DescriptorImpl |
getDescriptor() |
String |
getJobPath() |
all, createDefaultJobFile, getJobNamepublic String getJobPath()
public File createJobFile(hudson.model.AbstractBuild<?,?> build, hudson.model.BuildListener listener) throws InterruptedException, IOException
JobSource.createDefaultJobFile(String, AbstractBuild, BuildListener). For security reasons file path is
assumes that file path is relative to workspace directory (i.e. file is within workspace).createJobFile in class JobSourceInterruptedExceptionIOExceptionpublic FileJobSource.DescriptorImpl getDescriptor()
protected String expandJobPath(hudson.model.AbstractBuild<?,?> build, hudson.model.BuildListener listener)
Copyright © 2004-2013. All Rights Reserved.