Class MsBuildTask
java.lang.Object
com.atlassian.bamboo.specs.api.builders.EntityPropertiesBuilder<P>
com.atlassian.bamboo.specs.api.builders.task.Task<MsBuildTask,MsBuildTaskProperties>
com.atlassian.bamboo.specs.builders.task.MsBuildTask
Represents task that runs MSBuild command.
-
Field Summary
FieldsFields inherited from class com.atlassian.bamboo.specs.api.builders.task.Task
conditions, description, requirements, taskEnabled
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected @NotNull MsBuildTaskProperties
build()
environmentVariables
(@Nullable String environmentVariables) Specifies environment variables to be set when command is executed.boolean
executable
(@NotNull String executable) Specifies MSBuild executable to be used.int
hashCode()
Specifies command line argument to be passed when command is executed.projectFile
(@NotNull String projectFile) Specifies the solution, project file or MSBuild project to execute when this Job Builds.workingSubdirectory
(@Nullable String workingSubdirectory) Specifies a working directory for the task.Methods inherited from class com.atlassian.bamboo.specs.api.builders.task.Task
conditions, description, enabled, requirements, toString
-
Field Details
-
DEFAULT_PROJECT
- See Also:
-
-
Constructor Details
-
MsBuildTask
public MsBuildTask()
-
-
Method Details
-
executable
Specifies MSBuild executable to be used.Sets label (not a path) of command to be executed. This label must be first defined in the GUI on the Administration/Executables page. This field is mandatory
-
projectFile
Specifies the solution, project file or MSBuild project to execute when this Job Builds. -
options
Specifies command line argument to be passed when command is executed. -
environmentVariables
Specifies environment variables to be set when command is executed. -
workingSubdirectory
Specifies a working directory for the task. -
build
- Specified by:
build
in classTask<MsBuildTask,
MsBuildTaskProperties>
-
equals
- Overrides:
equals
in classTask<MsBuildTask,
MsBuildTaskProperties>
-
hashCode
public int hashCode()- Overrides:
hashCode
in classTask<MsBuildTask,
MsBuildTaskProperties>
-