Skip to content

Add docs for nuget source override variable#3053

Merged
grace-rehn merged 2 commits intomainfrom
grace/nuget-source-variable
Mar 6, 2026
Merged

Add docs for nuget source override variable#3053
grace-rehn merged 2 commits intomainfrom
grace/nuget-source-variable

Conversation

@grace-rehn
Copy link
Contributor

@grace-rehn grace-rehn commented Mar 5, 2026

Add docs for new Octopus.Action.Script.CSharp.NuGetSource system variable to override nuget source used when executing dotnet scripts.

Comment on lines +911 to +916
`Octopus.Action.Script.CSharp.NuGetSource`

Overrides the NuGet source used by the dotnet executor when running C# script steps.

Example: *<https://my-nuget-server/nuget>*

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the main change here.
The rest are new linting updates.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want to add a callout for what version this is available from (or is it backported)?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've backported it to release 2025.4 (our oldest supported version) onwards.
This section is already a bit overwhelming with a lot of variables so I think I prefer to leave the versions off to keep it neater.

@grace-rehn grace-rehn requested a review from a team March 5, 2026 23:57
Copy link
Contributor

@wlthomson wlthomson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🎉 .

Comment on lines +911 to +916
`Octopus.Action.Script.CSharp.NuGetSource`

Overrides the NuGet source used by the dotnet executor when running C# script steps.

Example: *<https://my-nuget-server/nuget>*

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want to add a callout for what version this is available from (or is it backported)?

@grace-rehn grace-rehn merged commit 3d5b05e into main Mar 6, 2026
5 checks passed
@grace-rehn grace-rehn deleted the grace/nuget-source-variable branch March 6, 2026 00:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants