From eadb2ae84c2787b204bed6a27c181b9216cefd0c Mon Sep 17 00:00:00 2001 From: Vincent Demeester Date: Tue, 21 Nov 2023 15:32:51 +0100 Subject: [PATCH] Fix CI by making sure we get the last taskrun Signed-off-by: Vincent Demeester --- test/e2e/e2e.bats | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/e2e.bats b/test/e2e/e2e.bats index a5a3906..00f3280 100644 --- a/test/e2e/e2e.bats +++ b/test/e2e/e2e.bats @@ -45,7 +45,7 @@ EOS {{ printf "%s=%s\n" .name .value }} {{- end -}} EOS - run tkn taskrun describe --output=go-template-file --template=${tmpl_file} + run tkn taskrun describe --output=go-template-file --template=${tmpl_file} --last assert_success assert_output --regexp $'^COMMIT=\S+\nCOMMITTER_DATE=\S+\nURL=\S+.*' }