Skip to content

Modify code to support Azure OnPremise#21

Open
SESEric wants to merge 2 commits into
little-fort:mainfrom
SESEric:main
Open

Modify code to support Azure OnPremise#21
SESEric wants to merge 2 commits into
little-fort:mainfrom
SESEric:main

Conversation

@SESEric

@SESEric SESEric commented Feb 10, 2026

Copy link
Copy Markdown

Summary

Add explicit Azure DevOps Server (on‑prem) support by using $(System.CollectionUri) only when an On‑Premise flag is enabled, and centralize URL construction for all PowerShell scripts.

Changes

  • Added onPremise task input and AZUREDEVOPS_ONPREMISE env flag
  • Introduced shared URL helper (scripts/AzureDevOpsUrl.ps1) to build API/web base URLs
  • Updated PR/comment scripts to use the shared helper
  • Keep cloud behavior unchanged when On‑Premise is disabled

Testing

  • Manual tests done over many of my existing PR

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.

1 participant