Exemple #1
0
        /// <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);
        }
Exemple #2
0
 /// <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);
 }