You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 12, 2019. It is now read-only.
Using teamcitysharp to build a dashboard. Where retrieving a StartDate build from the build it always returns the date as Date = {1/1/0001 12:00:00 AM} instead of correct failure date.
Is this a known issue or there is a something that I am missing to get the startDate correctly.
On Oct 30, 2017 18:04, "Moorthi" ***@***.***> wrote:
Using teamcitysharp to build a dashboard. Where retrieving a StartDate
build from the build it always returns the date as Date = {1/1/0001
12:00:00 AM} instead of correct failure date.
Is this a known issue or there is a something that I am missing to get the
startDate correctly.
LastBuildTime = build.StartDate.ToString("dd/MM/yyyy HH:mm:ss"),
always returns {1/1/0001 12:00:00 AM}.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#115>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAM0M-GmnA4V1x93WtfHZWf4SPYOjB3eks5sxfOfgaJpZM4QLbmK>
.
// Connect Server
var m_teamCityClient = new TeamCityClient(server);
m_teamCityClient.Connect(username, password);
// Create Filter for your query (Get Builds)
var buildField = BuildField.WithFields(id:true,startDate:true); // Fetch only the id and StartDate (other data is emty. )
var buildsField = BuildsField.WithFields(buildField: buildField);
// Fetch data 1 : Get All builds from a build config
var build1 = m_teamCityClient.Builds.GetFields(buildsField.ToString()).ByBuildConfigId("TestBuildConfig")
//Fetch data2 : Get all Running builds
var build2 = m_teamCityClient.Builds.GetFields(buildsField.ToString()).AllRunningBuild();
Regards,
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Using teamcitysharp to build a dashboard. Where retrieving a StartDate build from the build it always returns the date as Date = {1/1/0001 12:00:00 AM} instead of correct failure date.
Is this a known issue or there is a something that I am missing to get the startDate correctly.
LastBuildTime = build.StartDate.ToString("dd/MM/yyyy HH:mm:ss"),
always returns {1/1/0001 12:00:00 AM}.
The text was updated successfully, but these errors were encountered: