Sync eng/common directory with azure-sdk-tools for PR 3169 (#28428)
Sync eng/common directory with azure-sdk-tools for PR 3169 (#28428)

* Use the batch version of ValidateDocsMsPackagesFn

* Use proper pipelining for GetPackageInfoJson function

Co-authored-by: Patrick Hallisey <4bc83faa14d7c24aff8a52c728336e3aba5bf8c7@microsoft.com>
Azure/azure-sdk-for-java,Azure/azure-sdk-for-java,Azure/azure-sdk-for-java,Azure/azure-sdk-for-java,Azure/azure-sdk-for-java