2018-11-21 00:32:40 -06:00
|
|
|
tee $1 > /dev/null <<EOF
|
|
|
|
build_version: '$sonic_version'
|
|
|
|
asic_type: $sonic_asic_platform
|
|
|
|
commit_id: '$(git rev-parse --short HEAD)'
|
2021-01-05 04:17:26 -06:00
|
|
|
branch: '$(git rev-parse --abbrev-ref HEAD)'
|
2018-11-21 00:32:40 -06:00
|
|
|
build_date: $(date -u)
|
|
|
|
build_number: ${BUILD_NUMBER:-0}
|
|
|
|
built_by: $USER@$BUILD_HOSTNAME
|
|
|
|
EOF
|