我正在尝试在cloud-service部署章鱼步骤的deploy.ps1中更新“Octopus.Action.Azure.CloudServicePackageExtractionDisabled”八达通变量的值。但以下似乎不起作用。有什么建议吗?
$cloudServicePackageExtractionDisabledpre = $OctopusParameters["Octopus.Action.Azure.CloudServicePackageExtractionDisabled"]
Write-Host "PRE CloudServicePackageExtractionDisabled: $cloudServicePackageExtractionDisabledpre"
Set-OctopusVariable -name "Octopus.Action.Azure.CloudServicePackageExtractionDisabled" -value "True"
$cloudServicePackageExtractionDisabledpost = $OctopusParameters["Octopus.Action.Azure.CloudServicePackageExtractionDisabled"]
Write-Host "POST CloudServicePackageExtractionDisabled: $cloudServicePackageExtractionDisabledpost"