Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

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

Select an option

Save allwin-gists/ac3488596e14b5ca39490bedff6f31c2 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\delete-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