AppVeyor always builds from master branch

lair's Avatar

lair

05 Jun, 2015 02:54 PM

I have a peculiar project configuration (GitHub set up as generic git due to security considerations on private repository). The problem is that AppVeyor always builds latest commit from master, irregardless of what was pushed (it seems that it always was this way on this project, so it is not a new change).

Two annoying consequences are that when I push code to feature branch

  1. I don't get the status of the code I pushed
  2. it triggers the build for master which in turns triggers the deployment
  1. Support Staff 1 Posted by Feodor Fitsner on 05 Jun, 2015 04:42 PM

    Feodor Fitsner's Avatar

    This is because the information about the branch is passed in webhook payload. If you are already use SSH key to clone the sources and GitHub user authorized in AppVeyor has read access to that repo we can try converting it in database to GitHub repo so you can use GitHub-style webhook. Wanna try?

  2. 2 Posted by lair on 05 Jun, 2015 06:05 PM

    lair's Avatar

    Yes, I'd like it, thank you. Do you need the Project name?

  3. Support Staff 3 Posted by Feodor Fitsner on 05 Jun, 2015 06:14 PM

    Feodor Fitsner's Avatar

    Yes, please.

    - Feodor

  4. 4 Posted by lair on 05 Jun, 2015 06:21 PM

    lair's Avatar
  5. Support Staff 5 Posted by Feodor Fitsner on 05 Jun, 2015 08:24 PM

    Feodor Fitsner's Avatar

    OK, converted to GitHub project. Update repo webhook URL and give it another try.

  6. 6 Posted by lair on 05 Jun, 2015 08:56 PM

    lair's Avatar

    Now it is working as expected, thank you very much!

  7. lair closed this discussion on 05 Jun, 2015 08:56 PM.

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