From c6ee7314f2574b65f26d31832a1bca963971b63e Mon Sep 17 00:00:00 2001 From: Jason Hall Date: Fri, 24 Jan 2020 00:43:47 -0500 Subject: [PATCH] Fail step-script if param value is not applied --- examples/taskruns/step-script.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/taskruns/step-script.yaml b/examples/taskruns/step-script.yaml index a3170bbbc32..c49bcaa033b 100644 --- a/examples/taskruns/step-script.yaml +++ b/examples/taskruns/step-script.yaml @@ -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