IsShadowDeployment scripting variable not defined.

ehuggzehuggz Posts: 10 Bronze 1
I am running a VSTS build that runs on a local server via a VSTS Agent.
We are having trouble with local builds trying to create windows users from another domain and added the following code to our baseline scripts based upon some research.

IF '$(Environment)' <> 'LOCAL' AND '$(IsShadowDeployment)' = 0

I am now throwing an error on the $(IsShadowDeployment) variable - does anyone know where, when, and how this should be set?

The project build and ReadyRoll deployments work on local developer workstations, but is failing in a Visual Studio Team Services (VSTS) build.

Note: The build that is failing is a Visual Studio Team Services (VSTS) build running on a local VM via a VSTS Agent.
Eric Huggins | Continuous Integration Manager
Pinnacle of Indiana

Best Answer

  • ehuggzehuggz Posts: 10 Bronze 1
    Accepted Answer
    I solved this by adding the new VSTS ReadyRoll Addin: "Download ReadyRoll Components". This new VSTS addin downloads the latest ReadyRoll Nuget package from Nuget.org. The latest package resolved my issue.
    Eric Huggins | Continuous Integration Manager
    Pinnacle of Indiana
Sign In or Register to comment.