Reg : Tag build using API

Arun's Avatar


27 Mar, 2018 08:16 PM


Is it possible to trigger a build using the REST API, by providing a account name, project slug and a tag name.
Like, instead of giving commit ID, I would like to go by the tag Id/name.


  1. Support Staff 1 Posted by Ilya Finkelshte... on 28 Mar, 2018 07:43 AM

    Ilya Finkelshteyn's Avatar

    No, but you can get Commit Id by tag name (assuming you are using GitHub). Created this sample for you.

  2. 2 Posted by Arun on 28 Mar, 2018 02:59 PM

    Arun's Avatar

    Thanks for the reply.

    I have created a ps1 file to trigger build based on commit ID, where i am using the API token.
    This ps1 file also will go into a public repo.
    Is there a way to secure this value, like the way it is done in appveyor.yml

  3. Support Staff 3 Posted by Ilya Finkelshte... on 28 Mar, 2018 04:47 PM

    Ilya Finkelshteyn's Avatar

    It depends on how this file is being called. If this .ps1 file is being called from AppVeyor build, then secure variable is way to go.

  4. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:27 AM.

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

Keyboard shortcuts


? 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