Show / Hide Table of Contents

Interface IPush

Provides targets and configuration for pushing NuGet packages.

Inherited Members
IPack.PackagesDirectory
IPack.Pack
IPack.PackSettingsBase
IPack.PackSettings
ICompile.Compile
ICompile.CompileSettingsBase
ICompile.PublishSettingsBase
ICompile.CompileSettings
ICompile.PublishSettings
ICompile.PublishConfigurations
ICompile.PublishDegreeOfParallelism
IRestore.Restore
IRestore.RestoreSettingsBase
IRestore.RestoreSettings
IRestore.IgnoreFailedSources
IClean.CleanArtifactsDirectory
IClean.Clean
IHasSolution.Solution
IHasConfiguration.Configuration
IHasArtifacts.ArtifactsDirectory
IHasGitRepository.GitRepository
INukeBuild.ReportSummary(Configure<Dictionary<string, string>>)
INukeBuild.TryGetValue<T>(Expression<Func<T>>)
INukeBuild.TryGetValue<T>(Expression<Func<object>>)
INukeBuild.ExecutionPlan
INukeBuild.InvokedTargets
INukeBuild.SkippedTargets
INukeBuild.ScheduledTargets
INukeBuild.RunningTargets
INukeBuild.AbortedTargets
INukeBuild.FailedTargets
INukeBuild.SucceededTargets
INukeBuild.FinishedTargets
INukeBuild.IsSucceeding
INukeBuild.IsFailing
INukeBuild.IsFinished
INukeBuild.ExitCode
INukeBuild.RootDirectory
INukeBuild.TemporaryDirectory
INukeBuild.BuildAssemblyFile
INukeBuild.BuildAssemblyDirectory
INukeBuild.BuildProjectDirectory
INukeBuild.BuildProjectFile
INukeBuild.Verbosity
INukeBuild.Host
INukeBuild.Plan
INukeBuild.Help
INukeBuild.NoLogo
INukeBuild.IsLocalBuild
INukeBuild.IsServerBuild
INukeBuild.Continue
INukeBuild.Partition
Namespace: Hexagrams.Nuke.Components
Assembly: Hexagrams.Nuke.Components.dll
Syntax
public interface IPush : IPack, ICompile, IRestore, IClean, IHasSolution, IHasConfiguration, IHasArtifacts, IHasGitRepository, INukeBuild

Properties

| Edit this page View Source

NuGetApiKey

The NuGet API key.

Declaration
[Parameter(null)]
[Secret]
string NuGetApiKey { get; }
Property Value
Type Description
string
| Edit this page View Source

NuGetSource

Specifies the NuGet server URL. Defaults to the public NuGet feed.

Declaration
[Parameter(null)]
string NuGetSource { get; }
Property Value
Type Description
string
| Edit this page View Source

PackagePushSettings

Additional settings for controlling the behaviour packages pushed to NuGet.

Declaration
Configure<DotNetNuGetPushSettings> PackagePushSettings { get; }
Property Value
Type Description
Configure<DotNetNuGetPushSettings>
| Edit this page View Source

Push

Publish NuGet packages using dotnet nuget push.

Declaration
Target Push { get; }
Property Value
Type Description
Target
| Edit this page View Source

PushCompleteOnFailure

Whether or not to complete the push target, even if it fails. Defaults to true;

Declaration
bool PushCompleteOnFailure { get; }
Property Value
Type Description
bool
| Edit this page View Source

PushDegreeOfParallelism

The degree of parallelism to use when pushing packages. Defaults to 5.

Declaration
int PushDegreeOfParallelism { get; }
Property Value
Type Description
int
| Edit this page View Source

PushPackageFiles

The NuGet packages to push. Defaults to all files with the .nupkg extension under PackagesDirectory

Declaration
IEnumerable<AbsolutePath> PushPackageFiles { get; }
Property Value
Type Description
IEnumerable<AbsolutePath>
| Edit this page View Source

PushSettings

Additional settings for controlling the behaviour of the dotnet nuget push command.

Declaration
Configure<DotNetNuGetPushSettings> PushSettings { get; }
Property Value
Type Description
Configure<DotNetNuGetPushSettings>
| Edit this page View Source

PushSettingsBase

Settings for controlling the behaviour of the dotnet nuget push command.

Declaration
Configure<DotNetNuGetPushSettings> PushSettingsBase { get; }
Property Value
Type Description
Configure<DotNetNuGetPushSettings>

Extension Methods

ToolSettingsExtensions.WhenNotNull<T, TObject>(T, TObject, Func<T, TObject, T>)
ComponentExtensions.FromComponent<TComponent>(INukeBuild)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX