Verified Commit 38262d16 authored by Ayush Shrivastava's avatar Ayush Shrivastava
Browse files

ci: set expiration time for artifs from previous jobs

parent bcfe0b72
Pipeline #1856 failed with stage
in 0 seconds
......@@ -21,6 +21,7 @@ Run Lint:
when: always
paths:
- "**/reports/*"
expire_in: 45 mins
# Make Project
Build Application & Generate APK:
......@@ -28,11 +29,10 @@ Build Application & Generate APK:
stage: build
script:
- ./gradlew assembleDebug
- mv app/build/outputs/apk/debug/app-debug.apk ../../irdest-debug.apk
- cd ../../
artifacts:
paths:
- irdest-debug.apk
- "**/apk/*"
expire_in: 45 mins
# Run all tests, if any fails, interrupt the pipeline(fail it)
Run Unit Tests:
......@@ -44,10 +44,11 @@ Run Unit Tests:
Upload Artifacts:
stage: artifacts
script:
- mv app/build/outputs/apk/debug/app-debug.apk ../../irdest-debug.apk
- mv app/lint/reports/ ../../ && cd $_
artifacts:
when: always
paths:
- reports
- irdest-debug.apk
- reports
when: always
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment