File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Tasks/ServiceFabricDeployV1 Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1717 "version" : {
1818 "Major" : 1 ,
1919 "Minor" : 7 ,
20- "Patch" : 20
20+ "Patch" : 21
2121 },
2222 "demands" : [
2323 " Cmd"
Original file line number Diff line number Diff line change 1717 "version" : {
1818 "Major" : 1 ,
1919 "Minor" : 7 ,
20- "Patch" : 20
20+ "Patch" : 21
2121 },
2222 "demands" : [
2323 " Cmd"
Original file line number Diff line number Diff line change @@ -121,8 +121,8 @@ function Get-OverridenApplicationParameters
121121 $applicationManifestXml = [Xml ] (Get-Content - LiteralPath $ApplicationManifestPath )
122122 foreach ($param in $applicationManifestXml.ApplicationManifest.Parameters.Parameter )
123123 {
124- $paramName = $param.Name -replace " \. " , ' _ ' -replace " " , ' _ '
125- $paramValue = ( Get-Item env: $paramName - ErrorAction Ignore).Value
124+ $paramName = $param.Name
125+ $paramValue = Get-VstsTaskVariable - Name $paramName - ErrorAction Ignore
126126 if ($paramValue )
127127 {
128128 $overrideParameters.Add ($paramName , $paramValue )
You can’t perform that action at this time.
0 commit comments