mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-05 01:15:52 +03:00
devops: upload host arch as part of test report (#5167)
This commit is contained in:
parent
9de0a5a963
commit
a4f59dd57c
@ -48,6 +48,7 @@ export COMMIT_AUTHOR_EMAIL=$(git show -s --format=%ae HEAD)
|
||||
export COMMIT_TIMESTAMP=$(git show -s --format=%ct HEAD)
|
||||
|
||||
export HOST_OS_NAME="$(uname)"
|
||||
export HOST_ARCH="$(uname -m)"
|
||||
export HOST_OS_VERSION=""
|
||||
if [[ "$HOST_OS_NAME" == "Darwin" ]]; then
|
||||
HOST_OS_VERSION=$(sw_vers -productVersion | grep -o '^\d\+.\d\+')
|
||||
@ -62,6 +63,7 @@ EMBED_METADATA_SCRIPT=$(cat <<EOF
|
||||
json.metadata = {
|
||||
runURL: process.env.BUILD_URL,
|
||||
osName: process.env.HOST_OS_NAME,
|
||||
arch: prcoess.env.HOST_ARCH,
|
||||
osVersion: process.env.HOST_OS_VERSION,
|
||||
commitSHA: process.env.COMMIT_SHA,
|
||||
commitTimestamp: process.env.COMMIT_TIMESTAMP,
|
||||
|
Loading…
Reference in New Issue
Block a user