public static void OctoPush(this ICakeContext context, string server, string apiKey, IEnumerable <FilePath> packagePaths, OctopusPushSettings settings) { if (context == null) { throw new ArgumentNullException(nameof(context)); } if (packagePaths == null) { throw new ArgumentNullException(nameof(packagePaths)); } var pusher = new OctopusDeployPusher(context.FileSystem, context.Environment, context.ProcessRunner, context.Tools); pusher.PushPackage(server, apiKey, packagePaths.ToArray(), settings); }
public static void OctoPush(this ICakeContext context, string server, string apiKey, IEnumerable <FilePath> packagePaths, OctopusPushSettings settings) { var pusher = new OctopusDeployPusher(context.FileSystem, context.Environment, context.ProcessRunner, context.Tools); pusher.PushPackage(server, apiKey, packagePaths.ToArray(), settings); }