mmmmmmmmmmm

This commit is contained in:
2020-03-23 13:49:01 +01:00
parent d3ed5a87af
commit 1f02603954
2 changed files with 3 additions and 29 deletions

View File

@@ -39,8 +39,8 @@ spec:
echo "test"
/kaniko/executor --dockerfile=/source/$(params.context)/dockerfile --destination=beppev/$(params.image-name):$(params.version) --context=/source/$(params.context)/ --skip-tls-verify --skip-tls-verify-pull
if [ "$?" = 0 ]; then
printf "pending" > /tekton/results/state
printf "build and push successful" > /tekton/results/description
printf "success" > /tekton/results/state
printf "build and push successful, going on to publish build" > /tekton/results/description
else
printf "failure" > /tekton/results/state
printf "build and push were not successful use kubectl or tkn or tekton dashboard to see logs" > /tekton/results/description