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

Added support to Create, move, copy a project, Support to get the artifacts filtered and detection of many new object #60

Closed
wants to merge 34 commits into from

Conversation

mavezeau
Copy link

  • Change each call of TeamCityCaller to use the interface
    ITeamCityCaller
  • Added new method to download artifact filtered in BuildArtifacts
    (DownloadFiltered)
  • Added new method to modify a build trigger in
    BuildConfigs(ModifTrigger)
  • Added new method to modify a build snapshot dependencies in
    BuildConfigs(ModifSnapshotDependencies)
  • Added new method to modify a build artifact dependencies in
    BuildConfigs(ModifArtifactDependencies)
  • Added new method to create a project to inherit a project (Project)
  • Added new method to move a project to inherit a project (Project)
  • Added new method to modify a parameters inside a project (Project)
  • Added new method to modify a setting inside a project (Project)
  • Added new method to detect if the current user is Administrator (User)
  • Added new method to generate a ProjectId (Since 8.0) valid for
    teamcity (Project)
  • Added new type of Content GetBoolean (TeamCityCaller)
  • New Object detected in ArtifactDependency - SourceBuildType
  • New objects detected in Build - BuildType - Properties - Running_info
  • New Objects detected in BuildConfig - Number - Personnel - History -
    Pinned -Running - Template
  • New object detected in Project - Template
  • New objects detected in SnapshotDependency - Type - SourceBuildType
  • New class object Running_info - SourceBuildType - Template - Templates
  • Fix some issues

mavezeau and others added 27 commits December 12, 2013 13:17
Added support for ParentProject and Projects inside a Project
…ifacts filtered and detection of many new object

* Change each call of TeamCityCaller to use the interface
ITeamCityCaller
* Added new method to download artifact filtered in BuildArtifacts
(DownloadFiltered)
* Added new method to modify a build trigger in
BuildConfigs(ModifTrigger)
* Added new method to modify a build snapshot dependencies in
BuildConfigs(ModifSnapshotDependencies)
* Added new method to modify a build artifact dependencies in
BuildConfigs(ModifArtifactDependencies)
* Added new method to create a project to inherit a project (Project)
* Added new method to move a project to inherit a project (Project)
* Added new method to modify a parameters inside a project (Project)
* Added new method to  modify a setting inside a project (Project)
* Added new method to detect if the current user is Administrator (User)
* Added new method to generate a ProjectId (Since 8.0) valid for
teamcity (Project)
* Added new type of Content GetBoolean (TeamCityCaller)
* New Object detected in ArtifactDependency - SourceBuildType
* New objects detected in Build - BuildType - Properties - Running_info
* New Objects detected in BuildConfig - Number - Personnel - History -
Pinned -Running - Template
* New object detected in Project - Template
* New objects detected in SnapshotDependency - Type - SourceBuildType
* New class object Running_info - SourceBuildType - Template - Templates
* Fix some issues
… only the extension filteredExtensionFiles => filteredFiles

DESCRIPTION:
- Modify the method DownloadFiltered to use the filename and not only the extension filteredExtensionFiles => filteredFiles
  - This method use now the wilcard to find the file (*.dll to choose all dlls)
- added new support to disable the throw exception when the Authenticate didn't work (throwExceptionOnHttpError = true (default value))
Allows retrieval of properties such as no. of passed tests in a given
build. From
http://confluence.jetbrains.com/display/TCD8/REST+API#RESTAPI-Statistics
Conflicts:
	src/TeamCitySharp/ActionTypes/IBuildConfigs.cs
	src/TeamCitySharp/ActionTypes/Projects.cs
	src/TeamCitySharp/TeamCitySharp.csproj
DESCRIPTION:
Added new support of investigation, template and test

Fix for TeamCity 9 .tcbuildtag to .tcbuildid

BuildConfig:
Added EscapeDataString on the ByProjectIdAndConfigurationName method
Added new method Copy to copy a build config
Added new method CopyTemplate to copy a template only.
Added new method AttachTemplate / DetachTemplate to attach/ detach a config to template

Build:
Added new method RunningByBuildConfigId to extract the running build by buildConfig
Added new method AllRunningBuild to extract all running build

Projects:
Added new method DeletedById to delete a project by Id
Fix method copy and added support to specify a root parent

ServerInformation:
Fix getBackupStatus method

SnapshotDependency:
Fix to string return

BuildInvestigations:
Added new class to extract build investigation on build failure

TEST:
Manual test
Use fields specializations: Extract complex objects for specified Fields

Sample:
    // For each builds get only the Id, Number, Status and StartDate
    var buildField = BuildField.WithFields(id: true,number:true, status: true, startDate: true);
    var buildsFields = BuildsField.WithFields( buildField: buildField);
    var currentListBuild = client.Builds.GetFields(buildsFields.ToString()).ByBuildConfigId(currentProjectId)

Update nuget package

and changing tab spacing to 2 spaces.

Changing the assembly to 1.0.0
@mavezeau mavezeau closed this Jan 26, 2016
@mavezeau mavezeau reopened this Jan 26, 2016
@mavezeau mavezeau closed this Jan 26, 2016
@mavezeau mavezeau reopened this Jan 26, 2016
# Conflicts:
#	src/TeamCitySharp/ActionTypes/Agents.cs
#	src/TeamCitySharp/ActionTypes/BuildConfigs.cs
#	src/TeamCitySharp/ActionTypes/Builds.cs
#	src/TeamCitySharp/ActionTypes/IAgents.cs
#	src/TeamCitySharp/ActionTypes/IBuildConfigs.cs
#	src/TeamCitySharp/ActionTypes/IBuilds.cs
#	src/TeamCitySharp/ActionTypes/Projects.cs
#	src/TeamCitySharp/Connection/ITeamCityCaller.cs
#	src/TeamCitySharp/Connection/TeamCityCaller.cs
#	src/TeamCitySharp/Connection/TeamcityJsonEncoderDecoderConfiguration.cs
#	src/TeamCitySharp/DomainEntities/ArtifactDependency.cs
#	src/TeamCitySharp/DomainEntities/BuildTrigger.cs
#	src/TeamCitySharp/DomainEntities/NewProjectDescription.cs
#	src/TeamCitySharp/DomainEntities/ParentProjectWrapper.cs
#	src/TeamCitySharp/DomainEntities/Properties.cs
#	src/TeamCitySharp/DomainEntities/Property.cs
#	src/TeamCitySharp/DomainEntities/SnapshotDependency.cs
#	src/TeamCitySharp/DomainEntities/SourceBuildType.cs
#	src/TeamCitySharp/Locators/ProjectLocator.cs
#	src/TeamCitySharp/TeamCitySharp.csproj
@mavezeau mavezeau closed this Jan 26, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants