File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -80,6 +80,8 @@ extends:
80
80
displayName: Create build cache archive
81
81
82
82
- pwsh : |
83
+ $ErrorActionPreference = "Stop"
84
+
83
85
# Get the OAuth token from the git config
84
86
$result = git config --get-regexp .*extraheader ^AUTHORIZATION:
85
87
$basicToken = $result -split "AUTHORIZATION: basic " | Select-Object -Last 1
@@ -98,6 +100,7 @@ extends:
98
100
displayName: mixin
99
101
100
102
- pwsh : |
103
+ $ErrorActionPreference = "Stop"
101
104
$result = git config --get-regexp .*extraheader ^AUTHORIZATION:
102
105
$basicToken = $result -split "AUTHORIZATION: basic " | Select-Object -Last 1
103
106
$oauthToken = [System.Text.Encoding]::ASCII.GetString([System.Convert]::FromBase64String($basicToken)) -split ":" | Select-Object -Last 1
@@ -177,6 +180,7 @@ extends:
177
180
displayName : Install dotnet cli
178
181
179
182
- pwsh : |
183
+ $ErrorActionPreference = "Stop"
180
184
$result = git config --get-regexp .*extraheader ^AUTHORIZATION:
181
185
$basicToken = $result -split "AUTHORIZATION: basic " | Select-Object -Last 1
182
186
$oauthToken = [System.Text.Encoding]::ASCII.GetString([System.Convert]::FromBase64String($basicToken)) -split ":" | Select-Object -Last 1
Original file line number Diff line number Diff line change @@ -82,6 +82,8 @@ extends:
82
82
displayName: Create build cache archive
83
83
84
84
- pwsh : |
85
+ $ErrorActionPreference = "Stop"
86
+
85
87
# Get the OAuth token from the git config
86
88
$result = git config --get-regexp .*extraheader ^AUTHORIZATION:
87
89
$basicToken = $result -split "AUTHORIZATION: basic " | Select-Object -Last 1
@@ -100,6 +102,7 @@ extends:
100
102
displayName: mixin
101
103
102
104
- pwsh : |
105
+ $ErrorActionPreference = "Stop"
103
106
$result = git config --get-regexp .*extraheader ^AUTHORIZATION:
104
107
$basicToken = $result -split "AUTHORIZATION: basic " | Select-Object -Last 1
105
108
$oauthToken = [System.Text.Encoding]::ASCII.GetString([System.Convert]::FromBase64String($basicToken)) -split ":" | Select-Object -Last 1
@@ -179,6 +182,7 @@ extends:
179
182
displayName : Install dotnet cli
180
183
181
184
- pwsh : |
185
+ $ErrorActionPreference = "Stop"
182
186
$result = git config --get-regexp .*extraheader ^AUTHORIZATION:
183
187
$basicToken = $result -split "AUTHORIZATION: basic " | Select-Object -Last 1
184
188
$oauthToken = [System.Text.Encoding]::ASCII.GetString([System.Convert]::FromBase64String($basicToken)) -split ":" | Select-Object -Last 1
You can’t perform that action at this time.
0 commit comments