record build times on macos (#2379)

This commit is contained in:
Gary Verhaegen 2019-08-02 14:34:12 +01:00 committed by GitHub
parent d45671f926
commit 6e841952c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
steps:
- bash: |
set -euo pipefail
echo "##vso[task.setvariable variable=time;isOutput=true]$(date -uIs)"
echo "##vso[task.setvariable variable=time;isOutput=true]$(date -u +"%Y-%m-%dT%H:%M:%S+00:00")"
condition: always()
name: end

View File

@ -1,7 +1,7 @@
steps:
- bash: |
set -euo pipefail
echo "##vso[task.setvariable variable=time;isOutput=true]$(date -uIs)"
echo "##vso[task.setvariable variable=time;isOutput=true]$(date -u +"%Y-%m-%dT%H:%M:%S+00:00")"
echo "##vso[task.setvariable variable=machine;isOutput=true]$(Agent.MachineName)"
condition: always()
name: start