trigger build with variable from gitlab pipeline

xeijin's Avatar


23 Jun, 2019 12:34 PM


my build uses a config file to drive the behaviour of my build script - occasionally I'd like to specify that it uses a different config file for a build.

I use GitLab and I see that it supports passing a variable when manually initiating a CI/CD build via pipeline:

This looks perfect but I think AppVeyor uses the webhook integration whereas I imagine I would need to use the API to do this somehow? Is there a better way to achieve what I want?

I did think about simply including something in the commit message, but I often forget to do this, and I often don't make any changes to the files in the repo but still require it to build (as it downloads from external sources which may have been updated.


AppVeyor Project:


  1. Support Staff 1 Posted by Owen McDonnell on 24 Jun, 2019 09:12 PM

    Owen McDonnell's Avatar

    Do you mean that you want manual control over which yaml config file an individual build uses, or the ps1 build script that is invoked?

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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