Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    How to use Release and Deployment API endpoint to trigger release through TFS?

    Scheduled Pinned Locked Moved Support
    apibuildmaster
    4 Posts 1 Posters 9 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ? This user is from outside of this forum
      Guest
      last edited by

      Hi
      I have created deployment plan in BuildMaster and need to trigger the create release and deployment activity through TFS (if possible) or web api. I am trying to use api endpoints for release and deployment api like below but no use:
      http://buildmaster/post/api/releases/create?applicationName=DeployWWMapping&releaseNumber=1.1.3&pipelineName=TriggerTFSBuildDeploy&key=5WRTeJcctiY32u2bEqTb4Q==
      Can you please help how we can use the api to trigger release and deployment from api. Also is there a way to do same using TFS?

      Product: BuildMaster
      Version: 5.6.11

      1 Reply Last reply Reply Quote 0
      • ? This user is from outside of this forum
        Guest
        last edited by

        The URL is not http://buildmaster/post/api/releases

        Instead use: http://buildmaster/api/releases

        1 Reply Last reply Reply Quote 0
        • ? This user is from outside of this forum
          Guest
          last edited by

          Hi
          As suggested now i am using this URL but still nothing happening:
          http://buildmaster/api/releases/create?applicationName=DeployWWMapping&releaseNumber=1.1.3&pipelineName=TriggerTFSBuildDeploy&key=5WRTeJcctiY32u2bEqTb4Q==
          Please help

          1 Reply Last reply Reply Quote 0
          • ? This user is from outside of this forum
            Guest
            last edited by

            Hello Megha,

            That URL looks correct. Are you doing a POST or PUT request, or a GET request? If you're visiting the page in your browser, that's a GET request and it won't work. Either POST or PUT will work, though.

            You can use a web hook to automate this through TFS.

            1 Reply Last reply Reply Quote 0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • 1 / 1
            • First post
              Last post
            Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation