- If we checkout multiple repos, then this task tries to resolve this path against $(Build.SourcesDirectory) instead of $(Build.SourcesDirectory)/BuildXL.Internal
The variables persist beyond the scope of the single task. This is useful to run RunBxlWithPAT in a pre-build task and then have the build task be exposed to these variables.
This change looks like a net negative on the surface (why replace a single script with two separate pieces?) but we need it to migrate the pipelines to 1ESPT using the BuildXL workflow, which will call BuildXL outside of any wrapping script