Skip to content

Commit

Permalink
Fail step-script if param value is not applied
Browse files Browse the repository at this point in the history
  • Loading branch information
imjasonh authored and tekton-robot committed Jan 24, 2020
1 parent 0c58b56 commit c6ee731
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/taskruns/step-script.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ spec:
if v != 'param-value':
print('Param values not applied')
print('Got: ', v)
quit()
exit(1)
# Test that args are allowed and passed to the script as expected.
- name: args-allowed
Expand Down

0 comments on commit c6ee731

Please sign in to comment.