File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ stages:
8080 import zlib
8181
8282 def output_var(var_name, is_output, var_value):
83- os.environ[var_name] = val
83+ os.environ[var_name] = var_value
8484 print(f"##vso[task.setvariable variable={var_name};isOutput={is_output}]{var_value}")
8585
8686 def encode_and_compress(file_path):
@@ -92,7 +92,7 @@ stages:
9292 report_dir = os.path.realpath(report_dir)
9393
9494 convert_vars = [
95- { 'var_name': 'LINUX_GOCOV_OUT', 'file_path': f'{report_dir}/linux- coverage.out' },
95+ { 'var_name': 'LINUX_GOCOV_OUT', 'file_path': f'{report_dir}/coverage-all .out' },
9696 { 'var_name': 'LINUX_COVERAGE_OUT_XML', 'file_path': f'{report_dir}/linux-coverage.gocov.xml' },
9797 { 'var_name': 'LINUX_COVERAGE_OUT_JSON', 'file_path': f'{report_dir}/linux-coverage.gocov.json' },
9898 { 'var_name': 'LINUX_JUNIT_XML', 'file_path': f'{report_dir}/report.xml' }
You can’t perform that action at this time.
0 commit comments