[snap/#1537] Add environment variables to determine whether the build is running on the tracking pipeline or integration pipeline