This commit is contained in:
parent
619b1c394b
commit
b39d485e62
1 changed files with 0 additions and 18 deletions
18
.drone.yml
18
.drone.yml
|
|
@ -38,21 +38,3 @@ steps:
|
||||||
- chmod +x ./gradlew
|
- chmod +x ./gradlew
|
||||||
- ./gradlew test
|
- ./gradlew test
|
||||||
- echo "Tests completed!"
|
- echo "Tests completed!"
|
||||||
|
|
||||||
# Step 4: Generate Build Report
|
|
||||||
- name: build-report
|
|
||||||
image: cirrusci/android-sdk:latest
|
|
||||||
commands:
|
|
||||||
- cd MathHomeWorkHelper
|
|
||||||
- echo "=== BUILD REPORT ===" > build_report.txt
|
|
||||||
- echo "Build Date: $(date)" >> build_report.txt
|
|
||||||
- echo "Branch: $DRONE_BRANCH" >> build_report.txt
|
|
||||||
- echo "Commit: $DRONE_COMMIT" >> build_report.txt
|
|
||||||
- echo "Author: $DRONE_COMMIT_AUTHOR" >> build_report.txt
|
|
||||||
- echo "" >> build_report.txt
|
|
||||||
- echo "APK Artifacts:" >> build_report.txt
|
|
||||||
- ls -lh app/build/outputs/apk/debug/ >> build_report.txt 2>/dev/null || echo "Debug APK not found" >> build_report.txt
|
|
||||||
- ls -lh app/build/outputs/apk/release/ >> build_report.txt 2>/dev/null || echo "Release APK not found" >> build_report.txt
|
|
||||||
- cat build_report.txt
|
|
||||||
when:
|
|
||||||
status: [success, failure]
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue