public override bool Execute()

in src/Artifacts/Tasks/Robocopy.cs [34:48]


        public override bool Execute()
        {
            RetryCount = Math.Max(0, RetryCount);
            _retryWaitInMilliseconds = RetryWait < 0 ? TimeSpan.Zero : TimeSpan.FromMilliseconds(RetryWait);

            int count = 0;
            foreach (IList<RobocopyMetadata> bucket in GetBuckets())
            {
                CopyItems(bucket);
                count++;
            }

            Log.LogMessage("Processed {0} bucket(s)", count);
            return !Log.HasLoggedErrors;
        }