Skip to content
This repository has been archived by the owner on Feb 12, 2019. It is now read-only.

Releases: stack72/TeamCitySharp

Adding the ability to download build configs

19 Oct 21:15
Compare
Choose a tag to compare

Thanks to Mark deVilliers, we now have the ability to download build configurations. Sample usage would be as follows:

var client = new TeamCityClient("192.168.1.84:8111");

client.Connect("user", "user");

var config = client.BuildConfigs.ByConfigurationId("SignalRRabbitMQ_Build");
client.BuildConfigs.DownloadConfiguration(BuildTypeLocator.WithId(config.Id), Download);

Also in this release is a small change of semantics when connecting as guest. There used to be only 1 connect method that accepted the parameters name, password and a bool to suggest to connect as a guest. Thanks to a suggestion by Eugene Petrenko, the following is now implemented:

void Connect(string userName, string password);
void ConnectAsGuest();

Updating the ability to trigger server instance backups

17 Oct 09:00
Compare
Choose a tag to compare

Please note, there is a breaking change here!

This was thanks to the work by Phiipp Dolder. The new methods available are as follows:

  • string TriggerServerInstanceBackup(BackupOptions backupOptions);
  • string GetBackupStatus();

The TriggerServerInstanceBackup method is a breaking change as it will be replacing the old method:

  • bool TriggerServerInstanceBackup(string fileName);

This release will become Nuget package version 0.3.4