This repository was archived by the owner on Feb 12, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 165
Added support to Create, move, copy a project, Support to get the artifacts filtered and detection of many new object #60
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
…cies.cs into the Build object
… 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))
…ndencies and build triggers
…ies and buildtriggers
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
# 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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
ITeamCityCaller
(DownloadFiltered)
BuildConfigs(ModifTrigger)
BuildConfigs(ModifSnapshotDependencies)
BuildConfigs(ModifArtifactDependencies)
teamcity (Project)
Pinned -Running - Template