/// <summary> /// Call from the RoleEntryPoint.OnStart() method. /// </summary> /// <returns>true; throws exception is there is an error</returns> public bool OnStart() { if (_purgesites) { IisEnvironment.PurgeAllSites(); } _octopusDeploy.ConfigureTentacle(); _octopusDeploy.DeployAllCurrentReleasesToThisMachine(); return(true); }
/// <summary> /// Call from the RoleEntryPoint.OnStart() method. /// </summary> /// <returns>true; throws exception is there is an error</returns> public bool OnStart() { _octopusDeploy.ConfigureTentacle(); _octopusDeploy.DeployAllCurrentReleasesToThisMachine(); return(true); }