Cant access Visual Studio Online

Adam Clifford's Avatar

Adam Clifford

02 Jun, 2014 08:52 AM

Hi,

When I am trying to create a new project and I select Visual Studio Online as a repository source, all I am getting is the processing image of the three phasing dots.

I have authorized VSO, logged out and logged back in. Logged in on a completely different browser. De-authorized and re-authorized VSO but still I get the same response.
Does anyone have an idea about what might be happening?

Thank,
Adam Clifford

  1. Support Staff 1 Posted by Feodor Fitsner on 02 Jun, 2014 01:51 PM

    Feodor Fitsner's Avatar

    Hi Adam,

    I will take a look into it. Thanks for your report.

    - Feodor

  2. Support Staff 2 Posted by Feodor Fitsner on 02 Jun, 2014 06:32 PM

    Feodor Fitsner's Avatar

    If you open developer tools in browser (F12) do you see any error while requesting the list of VSO repositories from API?

    How many VSO accounts and GIT repositories do you have?

  3. 3 Posted by Jay on 02 Jun, 2014 08:22 PM

    Jay's Avatar

    I have the same issue. I created the account using VS Online credentials but cant connect to repo

    Jay

  4. 4 Posted by Adam Clifford on 02 Jun, 2014 08:33 PM

    Adam Clifford's Avatar

    clicking on add project:- GET https://ci.appveyor.com/api/repositories/gitHub 403 (Forbidden) app-js?v=ntaLT11MsBuGHy31QDDq_gZqR4yosLM2FIMqrpF9WgQ1:1

    clicking on VSO I don't get any error messages on the console. The SignalR connection gets logged but that is all. I have 13 project in my repository all running as tfs not git. Some of the project have several branches in.

    Adam Clifford

  5. Support Staff 5 Posted by Feodor Fitsner on 02 Jun, 2014 08:41 PM

    Feodor Fitsner's Avatar

    Ah, I see. AppVeyor is looking for Git projects only and returning empty list keeps displaying it "loading" behavior.

    Do you guys both have TFS repos only?

    I'd love to explore a possibility of supporting TFS repositories, besides we have an API for that: http://www.visualstudio.com/integrate/reference/reference-vso-versi....

    Let me know if you want to become early-adopters of this feature.

  6. 6 Posted by Adam Clifford on 03 Jun, 2014 07:36 AM

    Adam Clifford's Avatar

    Yes I have just TFS repositories, as it fits in with the way that we develop our products.
    I would love to be an early adopter to try to help.

    Adam Clifford

  7. Support Staff 7 Posted by Feodor Fitsner on 03 Jun, 2014 04:42 PM

    Feodor Fitsner's Avatar

    Great, I'll keep you posted!

  8. 8 Posted by maarten.oosterh... on 05 Jun, 2014 01:22 PM

    maarten.oosterhoff's Avatar

    I'm very interested in it as well since I'm using TFS online as well. Yes, early-adopter, please!
    :-)

  9. Support Staff 9 Posted by Feodor Fitsner on 05 Jun, 2014 04:26 PM

    Feodor Fitsner's Avatar

    Very well! :) Will publish an RFC for TFVC integration today.

  10. Support Staff 10 Posted by Feodor Fitsner on 05 Jun, 2014 07:28 PM

    Feodor Fitsner's Avatar

    OK, this is how we think TFVC integration could be done in AppVeyor:

    Adding a new project

    Selecting repository

    TFVC does not have a notion of "repository", but it's hierarchical structure where the project root can be on any level of the tree. AppVeyor UI will be presenting expandable tree to select any path beneath $/ that will be a project path:

    - $/MyTeamProject
        - Projects
          + ProjectA               <-- we select this folder
          + ProjectA-dev-branch    <-- this is a branch
    + $/AnotherTeamProject
    

    For the example above we select "ProjectA" folder which will setup a new project with $/MyTeamProject/Projects/ProjectA as "Project repository" and master as "Default branch" (both on General tab of project settings).

    To specify a custom "Default branch" you can put either the last part of branch's path or the full path to a branch, for our example it's ProjectA-dev-branch or $/MyTeamProject/Projects/ProjectA-dev-branch respectively.

    Setting up webhook

    AppVeyor will automatically configure a new VSO webhook for TFVC check-in event with "Under path" value of $/MyTeamProject (root folder) to be able to catch check-ins into project branches.

    Starting a build from UI

    This is how it will work when you click "New build" button on UI:

    1. AppVeyor will query $/MyTeamProject/Projects/ProjectA path for the last changeset - this will be shown as "commit" on AppVeyor UI.
    2. If "Default branch" is not master AppVeyor will query TFVC for the list of all branches for $/MyTeamProject/Projects/ProjectA path and will try to match "Default branch" value against the list. If configured "Default branch" is not found an error will be thrown; otherwise branch's path will be used to download project sources.

    Starting a build for every check-in

    Every check-in to TFVC repository will trigger webhook and pass webhook ID and changeset of your check-in to AppVeyor.
    Using webhook ID AppVeyor will locate a project and its TFVC path, in our example it's $/MyTeamProject/Projects/ProjectA.

    A principal difference here from Git or Mercurial is that a single TFVC check-in can contain changes to multiple projects and branches across repository, so AppVeyor will analyze all changes of the changeset to understand an "affected area".

    Suppose, in a single check-in we made some changes below $/MyTeamProject/Projects/ProjectA (main branch) and $/MyTeamProject/Projects/ProjectA-dev-branch (branch) nodes of our repository. First, AppVeyor will make sure that $/MyTeamProject/Projects/ProjectA-dev-branch is in the list of ProjectA branches and if this is the case it will start two builds: one for $/MyTeamProject/Projects/ProjectA project and the second for $/MyTeamProject/Projects/ProjectA-dev-branch branch. If there were changes in other areas of TFVC repository that are not beneath project path or one of its branches those changes won't trigger a new build. Other words, a single check-in to TFVC could start more than one build in AppVeyor.

    Let us know if you have any questions or comments.

  11. Support Staff 11 Posted by Feodor Fitsner on 18 Jun, 2014 04:15 AM

    Feodor Fitsner's Avatar

    We've just deployed AppVeyor update with TFVC support and you are welcome to give it a try!

    Setup is pretty straightforward - go to New project, expand TFVC node down to a project folder and click Add on it.

    Let me know if you have any questions!

  12. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:45 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac