public class MsBuildTask extends Task<MsBuildTask,MsBuildTaskProperties>
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_PROJECT |
conditions, description, requirements, taskEnabled| Constructor and Description |
|---|
MsBuildTask() |
| Modifier and Type | Method and Description |
|---|---|
protected @NotNull MsBuildTaskProperties |
build() |
MsBuildTask |
environmentVariables(@Nullable String environmentVariables)
Specifies environment variables to be set when command is executed.
|
boolean |
equals(Object o) |
MsBuildTask |
executable(@NotNull String executable)
Specifies MSBuild executable to be used.
|
int |
hashCode() |
MsBuildTask |
options(@Nullable String options)
Specifies command line argument to be passed when command is executed.
|
MsBuildTask |
projectFile(@NotNull String projectFile)
Specifies the solution, project file or MSBuild project to execute when this Job Builds.
|
MsBuildTask |
workingSubdirectory(@Nullable String workingSubdirectory)
Specifies a working directory for the task.
|
conditions, description, enabled, requirements, toStringpublic static final String DEFAULT_PROJECT
public MsBuildTask executable(@NotNull @NotNull String executable)
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
public MsBuildTask projectFile(@NotNull @NotNull String projectFile)
public MsBuildTask options(@Nullable @Nullable String options)
public MsBuildTask environmentVariables(@Nullable @Nullable String environmentVariables)
public MsBuildTask workingSubdirectory(@Nullable @Nullable String workingSubdirectory)
@NotNull protected @NotNull MsBuildTaskProperties build()
build in class Task<MsBuildTask,MsBuildTaskProperties>public boolean equals(Object o)
equals in class Task<MsBuildTask,MsBuildTaskProperties>public int hashCode()
hashCode in class Task<MsBuildTask,MsBuildTaskProperties>Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.