Class MsBuildTask


public class MsBuildTask extends Task<MsBuildTask,MsBuildTaskProperties>
Represents task that runs MSBuild command.
  • Field Details

  • Constructor Details

    • MsBuildTask

      public MsBuildTask()
  • Method Details

    • executable

      public MsBuildTask executable(@NotNull @NotNull String 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

      public MsBuildTask projectFile(@NotNull @NotNull String projectFile)
      Specifies the solution, project file or MSBuild project to execute when this Job Builds.
    • options

      public MsBuildTask options(@Nullable @Nullable String options)
      Specifies command line argument to be passed when command is executed.
    • environmentVariables

      public MsBuildTask environmentVariables(@Nullable @Nullable String environmentVariables)
      Specifies environment variables to be set when command is executed.
    • workingSubdirectory

      public MsBuildTask workingSubdirectory(@Nullable @Nullable String workingSubdirectory)
      Specifies a working directory for the task.
    • build

      @NotNull protected @NotNull MsBuildTaskProperties build()
      Specified by:
      build in class Task<MsBuildTask,MsBuildTaskProperties>
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Task<MsBuildTask,MsBuildTaskProperties>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Task<MsBuildTask,MsBuildTaskProperties>