Skip to content

Commit 4227677

Browse files
Update pipeline Build example-python
1 parent dafaf53 commit 4227677

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.harness/pipelines/example-python-1782243273911.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ pipeline:
5555
identifier: Upload_coverage_to_Codecov_env_token
5656
spec:
5757
shell: Sh
58-
command: codecovcli --verbose do-upload --fail-on-error
58+
command: |-
59+
if [ -z "$CODECOV_TOKEN" ]; then echo "CODECOV_TOKEN is empty"; exit 1; fi
60+
codecovcli --verbose do-upload --fail-on-error
5961
envVariables:
6062
CODECOV_TOKEN: <+secrets.getValue("Codecov_Upload_Token")>
6163
platform:

0 commit comments

Comments
 (0)