Skip to content

Commit 5c75529

Browse files
committed
fixup! Edit Pipeline Trigger
1 parent e81552c commit 5c75529

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.pipelines/templates/run-unit-tests.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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' }

0 commit comments

Comments
 (0)