grafana/scripts/ci-job-started.sh
Hugo Häggmark 432f36024b
Build: Reports times and outcomes from CircleCI jobs (#20474)
* Build: Adds start and stop job

* WIP: Testing passing env variables

* Fix: Fixes shellcheck errors

* WIP: Uses $BASH_ENV

* WIP: bash update

* WIP: adds stats echo

* WIP: Adds reporting

* Fix: Fixes reporting

* Fix: Fixes reporting

* Refactor: Adds outcomes and timing to build-fast-frontend

* Build: Adds stats to all jobs

* Fix: Fixes invalid yml

* Refactor: Adds stats to integration tests

* Refactor: Run stats on master only
2019-11-20 07:21:07 +01:00

7 lines
119 B
Bash
Executable File

#!/bin/bash
echo -e "Collecting job start date"
start=$(date +%s%N)
echo "export GF_JOB_START=$start" >> "$BASH_ENV"