apiVersion: tekton.dev/v1beta1 kind: Task metadata: name: phpstan spec: description: Phpstan on modified code workspaces: - name: source params: - name: apiurl - name: requestid steps: - name: analyse image: reg.cadoles.com/cadoles/phpstan script: | #!/bin/sh echo "== RUN PHPSTAN ===========================================" cd $(workspaces.source.path) phpstan analyse -l 5 --configuration phpstan-pipeline.neon --error-format table --no-progress > temp_phpstan.txt 2>&1 cat temp_phpstan.txt