//[Ignore("로컬전용")] public void Test() { string srcDirectory = @"C:\Program Files (x86)\CruiseControl.NET\imsi_test\TqLib"; string pluginDirectory = @"C:\Program Files (x86)\CruiseControl.NET\plugin"; string serviceDirecotry = @"C:\Program Files (x86)\CruiseControl.NET\server"; var a = new CcnetPluginInstaller(srcDirectory, pluginDirectory, serviceDirecotry); a.Install(); }
private void Deploy() { Logger?.Info("PluginUpdator - deploying"); string source; if (DownloadUrl.EndsWith(".zip", System.StringComparison.OrdinalIgnoreCase)) { var filename = Path.GetFileName(DownloadUrl); source = Path.Combine(DownloadFolder, Path.GetFileNameWithoutExtension(filename)); } else { source = DownloadFolder; } var installer = new CcnetPluginInstaller(source, PluginDirectory, ServiceDirecotry); installer.Install(); }