public class ChangeAssemblyVersion
extends hudson.tasks.Builder
| Modifier and Type | Class and Description |
|---|---|
static class |
ChangeAssemblyVersion.Descriptor |
| Constructor and Description |
|---|
ChangeAssemblyVersion(String task,
String assemblyFile) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAssemblyFile() |
String |
getTask() |
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 (task property value).
|
all, getDescriptor, getRequiredMonitorService, prebuildpublic String getTask()
public String getAssemblyFile()
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-2014. All Rights Reserved.