@@ -65,6 +65,7 @@ stages:
6565 $GOCOV_XML_BIN < "$REPORT_DIR"/linux-coverage.gocov.json > "$REPORT_DIR"/linux-coverage.gocov.xml
6666
6767 - task : UsePythonVersion@0
68+ retryCountOnTaskFailure : 3
6869 inputs :
6970 versionSpec : ' 3.x' # string. Required. Version spec. Default: 3.x.
7071 addToPath : true
@@ -106,6 +107,8 @@ stages:
106107 val = encode_and_compress(item['file_path'])
107108 output_var(item['var_name'], True, val)
108109
110+ sys.exit()
111+
109112
110113 - job : windows
111114 displayName : " Run Tests - Windows"
@@ -129,6 +132,7 @@ stages:
129132 version : ' $(GOVERSION)'
130133
131134 - task : UsePythonVersion@0
135+ retryCountOnTaskFailure : 3
132136 inputs :
133137 versionSpec : ' 3.x' # string. Required. Version spec. Default: 3.x.
134138 addToPath : true
@@ -281,6 +285,8 @@ stages:
281285 junit_xml_content = encode_and_compress(junit_xml)
282286 output_var('JUNIT_XML', True, junit_xml_content)
283287
288+ sys.exit()
289+
284290
285291 - job : coverage
286292 displayName : " Check Test Coverage"
@@ -303,10 +309,11 @@ stages:
303309 LINUX_GOCOV_OUT : $[ dependencies.linux.outputs['report.GOCOV_OUT_XML'] ]
304310 LINUX_JUNIT_XML : $[ dependencies.linux.outputs['report.JUNIT_XML'] ]
305311 steps :
306- # - task: UsePythonVersion@0
307- # inputs:
308- # versionSpec: '3.x' # string. Required. Version spec. Default: 3.x.
309- # addToPath: true
312+ - task : UsePythonVersion@0
313+ retryCountOnTaskFailure : 3
314+ inputs :
315+ versionSpec : ' 3.x' # string. Required. Version spec. Default: 3.x.
316+ addToPath : true
310317
311318 - task : PythonScript@0
312319 displayName : " Write Test Output Artifacts"
@@ -350,6 +357,8 @@ stages:
350357 print(f'Decompressing data and writing variable value to file {item["file_path"]}')
351358 file_io.write(decompress_and_decode(var_value))
352359
360+ sys.exit()
361+
353362 - task : PublishTestResults@2
354363 displayName : " Publish Test Results"
355364 inputs :
0 commit comments