We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As a user of FluentTc I would like to be able retrieve a project by Id or Name using fluent API, i.e. using lambda
From TeamCity REST API documentation: https://confluence.jetbrains.com/display/TCD10/REST+API#RESTAPI-ProjectsandBuildConfiguration/TemplatesLists
Project details: GET http://teamcity:8111/app/rest/projects/projectLocator, where projectLocator can be id:internal_project_id or name:project%20name
[Test] public void GetProject_ById() { var project = new RemoteTc(c=>c.ToHost("HOST").AsGuest()) .GetProject(project => project.Id("FluentTc") ); } [Test] public void GetProject_ByName() { var project = new RemoteTc(c=>c.ToHost("HOST").AsGuest()) .GetProject(project => project.Name("FluentTc") ); }
The text was updated successfully, but these errors were encountered:
I could implement this is you are still looking for help.
Sorry, something went wrong.
@WiseLordship thanks for your help. I'll review it later on and will update you
No branches or pull requests
Feature Request
As a user of FluentTc I would like to be able retrieve a project by Id or Name using fluent API, i.e. using lambda
From TeamCity REST API documentation: https://confluence.jetbrains.com/display/TCD10/REST+API#RESTAPI-ProjectsandBuildConfiguration/TemplatesLists
Test to reproduce
The text was updated successfully, but these errors were encountered: