SQL CI

Using the publish command

To run the SQL CI command line publish step, use this syntax:

sqlCI.exe Publish /package=<value1> /nugetFeedUrl=<value2> 

Example

sqlCI.exe Publish /package=WidgetShop\Database\Output\WidgetShop.1.0.nupkg /nugetFeedUrl=http://nugetfeedmachinename:8081/nuget/

Here are details of all the publish command switches:

Contents:

/package

The path to the package that was created in the build step.

Example

/package=WidgetShop\Database\Output\WidgetShop.1.0.nupkg

/nugetFeedUrl

The fully-qualified URL for your NuGet feed. If your are using SQL Release and Octopus Deploy, this is the URL for Octopus Deploy with /nuget/packages added to the end.

Example

/nugetFeedUrl=http://nugetfeedmachinename:8081/nuget/packages

 /nugetFeedApiKey (optional)

The API key for your NuGet feed.

Example

/nugetFeedApiKey=DO8XW4CI7UIROVCFG4TYTC2DXM8

If you are using a public NuGet feed, the API key is not required.


Didn't find what you were looking for?