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

Many new features #101

Open
wants to merge 120 commits into
base: master
Choose a base branch
from
Open

Many new features #101

wants to merge 120 commits into from

Conversation

mavezeau
Copy link

Introduce the getFields to specified only the needed field and/or received more field that the standard query

Example: Extract Properties inside a list

Many fixes and code cleanups

mavezeau and others added 30 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
tusmanakhter and others added 30 commits October 10, 2019 09:54
DESCRIPTION:
Artifact download capability restored
Added a test for artifact download

TEST:

REVIEWER:

REFERENCES:
-TP Task: None
-Defect: None
-Wiki: None
[TeamcitySharp] - Fixed issue preventing artifact downloads
…er properties

DESCRIPTION:
Build configuration can now be created with all properties instead of adding them after creation.
[TeamcitySharp] - Add method to create a build configuration with other properties
DESCRIPTION:
Fix download artifacts with a git branch

TEST:

REVIEWER:

REFERENCES:
-TP Task: None
-Defect: None
-Wiki: None
DESCRIPTION:
Added support to specify branch when you need to download an artifact

TEST:
Manual

REVIEWER:
Tusman

REFERENCES:
-TP Task: None
-Defect: None
-Wiki: None
DESCRIPTION: Add new feature to get test occurrences
By build/project/test locator
DESCRIPTION:
Misspelling of investigation
[TeamCitySharp] - Fix typo
[TeamCitySharp] -  Add support for Test Occurences
…or build config

DESCRIPTION:
Add support to fetch branch information by project or build config
Add missing field for branches

new Method
 + BuildConfigs
    GetBranchesByBuildConfigurationId(string buildTypeId, BranchLocator locator = null)

 + Project
    GetBranchesByBuildProjectId(string projectId, BranchLocator locator = null)
TEST:

REVIEWER:
Tusman

REFERENCES:
-TP Task: None
-Defect: None
-Wiki: None
DESCRIPTION:

TEST:

REVIEWER:

REFERENCES:
-TP Task: None
-Defect: None
-Wiki: None
Added new connection feature with access token (since Teamcity 2019.1)

reviewer
Tusman
Fix previous release 2.0.10

Rename CheckForUserNameAndPassword to CheckForAuthRequest to support token connection
Add new method
 # void PutRawBuildStep(BuildTypeLocator locator, string rawXml);
 # BuildSteps GetRawBuildStep(BuildTypeLocator locator);

#31
Added support  of .netcore 3.1
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.

None yet