jenkins.plugins.fogbugz.buildwrappers
Class FogbugzEnvironmentWrapper
java.lang.Object
hudson.model.AbstractDescribableImpl<hudson.tasks.BuildWrapper>
hudson.tasks.BuildWrapper
jenkins.plugins.fogbugz.buildwrappers.FogbugzEnvironmentWrapper
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.BuildWrapper>
public class FogbugzEnvironmentWrapper
- extends hudson.tasks.BuildWrapper
| Nested classes/interfaces inherited from class hudson.tasks.BuildWrapper |
hudson.tasks.BuildWrapper.Environment |
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
|
Method Summary |
static String |
parseBranchName(String branchExpression)
Parses the branch name from fogbugz case. |
String |
parseRepoUrl(String featureBranchField)
Parses feature branch field of fogbugz case and comes up with full and valid full repo url. |
hudson.tasks.BuildWrapper.Environment |
setUp(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
Retrieves data from Fogbugz, and puts it into environment variables. |
| Methods inherited from class hudson.tasks.BuildWrapper |
all, decorateLauncher, decorateLogger, getProjectAction, getProjectActions, makeBuildVariables, makeSensitiveBuildVariables, preCheckout, setUp |
| Methods inherited from class hudson.model.AbstractDescribableImpl |
getDescriptor |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FogbugzEnvironmentWrapper
@DataBoundConstructor
public FogbugzEnvironmentWrapper(boolean copyInformation,
String repoBase)
parseRepoUrl
public String parseRepoUrl(String featureBranchField)
throws Exception
- Parses feature branch field of fogbugz case and comes up with full and valid full repo url.
- Throws:
Exception
parseBranchName
public static String parseBranchName(String branchExpression)
- Parses the branch name from fogbugz case.
setUp
public hudson.tasks.BuildWrapper.Environment setUp(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
- Retrieves data from Fogbugz, and puts it into environment variables.
- Overrides:
setUp in class hudson.tasks.BuildWrapper
Copyright © 2004-2014. All Rights Reserved.