We are moving from TFS on Prem to hosted Azure Devops. In our build we have a script with the following line:
subst E: <my path>
Sadly the E: is not being mapped to.
We call subst E: /D before hand to make sure the path is no there first.
What could be wrong?
I can successfully associate a path with a drive letter with
substcommand in hosted agent. See below example:Output :
If the
pathyou were trying to map toEdidnot exist in the hosted agent. The mapping will fail.Please make sure the
pathyou were trying to map exists.