Dotnet Ms Build Step
A .NET msbuild step to run .NET MSBuild
Example. Runs dotnet msbuild
command for Rebuild target for a specified solution in the build checkout directory with detailed logging
buildType {
// Other Build Type settings ...
steps {
// Other Build Steps ...
dotnetMsBuild {
projects = "MySolution.sln"
version = DotnetMsBuildStep.MSBuildVersion.CrossPlatform
targets = "Rebuild"
configuration = "Release"
logging = DotnetMsBuildStep.Verbosity.Detailed
sdk = "4.8.1"
}
Content copied to clipboard }
}
See also
Types
Properties
Optional collection of build step execution conditions
Target configuration to build for.
Specifies coverage tool to use
Specifies which Docker image to use for running this build step. I.e. the build step will be run inside specified docker image, using 'docker run' wrapper.
Specifies which Docker image platform will be used to run this build step.
If enabled, "pull image" command will be run before docker run.
Additional docker run command arguments
Build step execution mode
Specify logging verbosity
MSBuild version to use
Build working directory for script, specify it if it is different from the checkout * directory.
Functions
Deletes all configured build step conditions
Configures build step conditions
Copies parameters of this object to the specified target
Validates this object and reports found errors to the provided consumer