pipelines:
pull-requests: # pipeline run only pull-requests
"**":
- step:
name: Build Debug
services:
[ docker-with-more-memory ]
size: 2x
caches:
- gradle
script:
- while true; do date && echo "Memory usage in megabytes:" && echo $((`cat /sys/fs/cgroup/memory/memory.memsw.usage_in_bytes | awk '{print $1}'`/1048576)) && echo "" && sleep 30; done &
- ./gradlew assembleDebug
artifacts:
paths:
- app/build/outputs/apk/debug/app-debug.apk
- step:
name: Detekt
services:
[ docker-with-more-memory ]
size: 2x
caches:
- gradle
script:
- while true; do date && echo "Memory usage in megabytes:" && echo $((`cat /sys/fs/cgroup/memory/memory.memsw.usage_in_bytes | awk '{print $1}'`/1048576)) && echo "" && sleep 30; done &
- ./gradlew detektAll
artifacts:
- build/reports/detekt/**
why my pipelines have this error