open class DotnetRestoreStep : BuildStep
A dotnet restore step to run .NET CLI command
See Also
enum class ImagePlatform
Docker image platforms |
|
enum class Verbosity
Logging verbosity |
DotnetRestoreStep(init: DotnetRestoreStep.() -> Unit = {}, base: DotnetRestoreStep? = null) |
var args: String?
Enter additional command line parameters for dotnet restore. |
|
var configFile: String?
The NuGet configuration file to use. |
|
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 packagesDir: String?
The directory to restore packages. |
|
var projects: String?
Specify paths to projects and solutions. Wildcards are supported. |
|
var runtime: String?
Target runtime to restore packages. |
|
var sources: String?
Specifies NuGet package sources to use during the restore. |
var conditions: BuildStepConditions
Optional collection of build step execution conditions |
|
var enabled: Boolean
Specifies whether the step is enabled |
|
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 |
fun conditions(base: BuildStepConditions? = null, init: BuildStepConditions.() -> Unit = {}): Unit
Configures build step conditions |