Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save allwin-gists/04ecf974ac80f0e537ffa878c93788dc to your computer and use it in GitHub Desktop.

Select an option

Save allwin-gists/04ecf974ac80f0e537ffa878c93788dc to your computer and use it in GitHub Desktop.
$JobDataFile="c:\deploy\$(Release.DefinitionName).txt"
$slot = cat $JobDataFile
$ingressWhitelistSourceRange=$(System.ArtifactsDirectory)\PipelineScriptsBuildArtifacts\drop\get-whitelist.ps1 -whitelistJsonPath $(System.ArtifactsDirectory)\WhitelistArtifacts\drop\$(whitelistFilename)
$(System.ArtifactsDirectory)\PipelineScriptsBuildArtifacts\drop\swap-bg.ps1 -serviceName $(serviceName) -namespace rgwebsite -url $(ingressUrl) -tlsSecretName $(ingressTlsSecretName) -whitelistSourceRange "$ingressWhitelistSourceRange" -slot $slot -firewallMode $(firewallMode)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment