Reg : Tag build using API
Hi,
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.
Thanks.
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
1 Posted by Ilya Finkelshte... on 28 Mar, 2018 07:43 AM
No, but you can get Commit Id by tag name (assuming you are using GitHub). Created this sample for you.
2 Posted by Arun on 28 Mar, 2018 02:59 PM
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 Posted by Ilya Finkelshte... on 28 Mar, 2018 04:47 PM
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.Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:27 AM.