You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

The NuGet Update Action is used to update the Nuget packages to the latest version.

NuGet Update

Name

A friendly name for this action (will be displayed in the actions workflow area).

Enabled

Determines if this action will be run within the relevant stage.

Package.config / Solution File

The location of your .sln or packages.conf file within your source control.

Repository Path

The path to the local packages folder (location where packages are installed).

Sources

An optional list of NuGet Feed package sources to search for updates (the default source location is nuget.org).

Configuration File

The NuGet configuation file. If not specified, the file %AppData%\NuGet\NuGet.config is used.

Using

The property collector pointing to the location of the NuGet.exe file.


Options

Safe mode

Tick this to look for updates with the highest version available within the same major and minor version as the installed package.

Also update NuGet.exe

Tick this update the running NuGet.exe to the newest version available from the server. You need to ensure that the user running the Agent service has the correct permissions to do this.

Install prerelease packages 

Allows updating to prerelease versions. This flag is not required when updating prerelease packages that are already installed. 

File Conflict Action

The action to take, when asked to overwrite or ignore existing files referenced by the project: Overwrite, Ignore, None.

Timeout (in seconds)

How long to wait for the action to finish running before timing out. Leaving this blank (or zero) will default to 86400 seconds (24 hours).

Treat failure as warning

Tick to continue build on failure marking the action with a warning status.

Ignore warnings

If this is ticked, any warnings logged will not mark the action with a warning status.


Log standard output


If this is ticked, the command line output is written to the build log.


Environment

Multiple environment variables can be defined - one per line. These are set before the command line is run.

Log environment variables

If this is ticked, environment variable values are written to the build log. 

Generate system environment variables

Tick this checkbox to set up a list of new environment variables prefixed with 'ContinuaCI.' for all current system expression objects and variables.

Mask sensitive variable values in system environment variables

Visible only if the 'Generate system environment variables' checkbox is ticked.

If this is ticked, the values of any variables marked as sensitive will be masked with **** when setting system environment variables. Clear this to expose the values.


  • No labels