open class DotnetPackStep : BuildStep
A dotnet pack step to run .NET CLI command
See Also
enum class ImagePlatform
Docker image platforms |
|
enum class Verbosity
Logging verbosity |
DotnetPackStep(init: DotnetPackStep.() -> Unit) DotnetPackStep()
A dotnet pack step to run .NET CLI command |
var args: String?
Enter additional command line parameters for dotnet pack. |
|
var configuration: String?
Target configuration to pack for. |
|
var dockerImage: String?
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. |
|
var dockerImagePlatform: ImagePlatform?
Specifies which Docker image platform will be used to run this build step. |
|
var dockerPull: Boolean?
If enabled, "docker pull image" will be run before docker run. |
|
var dockerRunParameters: String?
Additional docker run command arguments |
|
var logging: Verbosity?
Specify logging verbosity |
|
var outputDir: String?
The directory where to place outputs. |
|
var projects: String?
Specify paths to projects and solutions. Wildcards are supported. |
|
var runtime: String?
Target runtime to pack for. |
|
var skipBuild: Boolean?
Do not build the project before packing |
|
var versionSuffix: String?
Defines the value for the $(VersionSuffix) property in the project. |
|
var workingDir: String?
Build working directory for script, specify it if it is different from the checkout * directory. |
var conditions: BuildStepConditions
Optional collection of build step execution conditions |
|
var enabled: Boolean
Specifies whether the step is enabled, true by default |
|
var executionMode: ExecutionMode
Build step execution mode |
|
var id: String?
Id of the step, if not specified will be generated |
|
var name: String
Build step name |
|
var type: String
Build step type |
open fun validate(consumer: ErrorConsumer): Unit
Validates this object and reports found errors to the provided consumer |
fun clearConditions(): Unit
Deletes all configured build step conditions |
|
fun conditions(init: BuildStepConditions.() -> Unit = {}): Unit
Configures build step conditions |
|
open fun create(): BuildStep
Creates an instance of this build step via reflection using a no argument constructor, used during copying. Throws an error if this class doesn't have a default constructor. Subclasses can override it to create an instance without using a default constructor. |
|
open fun toString(): String |