locked
Team Foundation Server 2017 API Links to queue new build and release RRS feed

  • Question

  • Hi Team,

    Please share Team Foundation Server 2017  API Links to queue new  build and release. So That I can invoke the rest API to start the build

    Wednesday, November 22, 2017 3:34 PM

Answers

  • Hi,

    Check this https://www.visualstudio.com/en-us/docs/integrate/api/build/builds#queue-a-build

    Regards


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    • Proposed as answer by Kim CarlsenMVP Thursday, November 23, 2017 8:44 AM
    • Marked as answer by RatheeshAV Thursday, November 23, 2017 11:30 AM
    Thursday, November 23, 2017 7:42 AM
    Moderator
    • Marked as answer by RatheeshAV Thursday, November 23, 2017 11:30 AM
    Thursday, November 23, 2017 10:02 AM

All replies

  • Hi,

    Check this https://www.visualstudio.com/en-us/docs/integrate/api/build/builds#queue-a-build

    Regards


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    • Proposed as answer by Kim CarlsenMVP Thursday, November 23, 2017 8:44 AM
    • Marked as answer by RatheeshAV Thursday, November 23, 2017 11:30 AM
    Thursday, November 23, 2017 7:42 AM
    Moderator
  • Hi Kim,

    Thanks for the replay.

    I already tried the same api but it’s says bad request error 400. I’m using the SCORCH invoke web URL method.

    TFS version is 2017 UR3

    POST https://servername:8080/tfs/CollectionName/Project Name/_apis/build/builds?api-version=2.0

    Thursday, November 23, 2017 9:28 AM
    • Marked as answer by RatheeshAV Thursday, November 23, 2017 11:30 AM
    Thursday, November 23, 2017 10:02 AM
  • Thanks It's worked for me. I think this will also work for release management
    Thursday, November 23, 2017 11:30 AM