Dotnet Pack Step
A dotnet pack step to run .NET CLI command
Example. Runs dotnet pack
command for the specified solution. Does not try to build the project, assumes this is already done by some previous step.
buildType {
// Other Build Type settings ...
steps {
// Other Build Steps ...
dotnetPack {
projects = "MyProject.sln"
configuration = "Debug"
skipBuild = true
}
Content copied to clipboard }
}
See also
Properties
Optional collection of build step execution conditions
Target configuration to pack for.
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
Defines the value for the $(VersionSuffix) property in the project.
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