Skip to content

Commit

Permalink
Issue mozilla-mobile#10: Add timestamp and commit hash to artifacts.
Browse files Browse the repository at this point in the history
  • Loading branch information
pocmo committed May 3, 2018
1 parent 390275d commit 3dc18f5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .taskcluster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ tasks:
&& git config advice.detachedHead false
&& git checkout {{event.head.sha}}
&& ./gradlew --no-daemon clean assemble test detektCheck ktlint lint
&& mkdir ./preview
&& touch ./preview/`date +"%Y-%m-%d-%H-%M"`
&& touch ./preview/{{event.head.sha}}
artifacts:
'public/reports':
type: 'directory'
Expand Down Expand Up @@ -82,6 +85,8 @@ tasks:
&& python automation/taskcluster/get-secret.py -s project/fenix/preview-key-store -k keyStorePassword -f .store_token
&& python automation/taskcluster/get-secret.py -s project/fenix/preview-key-store -k keyPassword -f .key_token
&& python automation/taskcluster/sign-builds.py --zipalign --path ./app/build/outputs/apk --store .store --store-token .store_token --key-alias preview-key --key-token .key_token --archive ./preview
&& touch ./preview/`date +"%Y-%m-%d-%H-%M"`
&& touch ./preview/{{event.head.sha}}
features:
taskclusterProxy: true
artifacts:
Expand Down

0 comments on commit 3dc18f5

Please sign in to comment.