public class ChangeAssemblyVersion
extends hudson.tasks.Builder
| Modifier and Type | Class and Description |
|---|---|
static class |
ChangeAssemblyVersion.Descriptor |
| Constructor and Description |
|---|
ChangeAssemblyVersion(String versionPattern,
String assemblyFile,
String regexPattern,
String replacementPattern) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAssemblyFile() |
String |
getRegexPattern() |
String |
getReplacementPattern() |
String |
getVersionPattern() |
boolean |
perform(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
The perform method is gonna search all the file named "Assemblyinfo.cs"
in any folder below, and after found will change the version of
AssemblyVersion and AssemblyFileVersion in the file for the inserted
version (versionPattern property value).
|
all, getDescriptor, getRequiredMonitorService, prebuildpublic String getVersionPattern()
public String getAssemblyFile()
public String getRegexPattern()
public String getReplacementPattern()
public boolean perform(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
perform in interface hudson.tasks.BuildStepperform in class hudson.tasks.BuildStepCompatibilityLayerCopyright © 2004-2015. All Rights Reserved.