kind: pipeline type: docker name: default steps: - name: html_validate image: ubuntu commands: - apt-get update && apt-get install -y tidy - tidy -imu index.html + || if [ $? -eq 1 ]; then echo "you fail"; fi trigger: branch: - master