예제 #1
0
        public void CheckBuildStatus()
        {
            var buildServer = new BuildServer(
                "https://dev.azure.com/revlucio",
                "befbvymjfrdx6ba74xnm732s6x2gicvdcfcbanxydnbeo7p3rlra");

            ChangeIcons(buildServer.WasLastBuildSuccessful("street-runner", 4) == false);
        }
예제 #2
0
        public void CheckBuildStatus2()
        {
            var azureSettings = AzureSettings.FromFileSystem();

            var buildServer = new BuildServer(
                azureSettings.ServerUrl,
                azureSettings.Token);

            ChangeIcons(buildServer.WasLastBuildSuccessful(azureSettings.ProjectName, azureSettings.BuildId) == false);
        }