AppVeyor always builds from master branch
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
- I don't get the status of the code I pushed
- it triggers the build for
master
which in turns triggers the deployment
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
Support Staff 1 Posted by Feodor Fitsner on 05 Jun, 2015 04:42 PM
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 Posted by lair on 05 Jun, 2015 06:05 PM
Yes, I'd like it, thank you. Do you need the Project name?
Support Staff 3 Posted by Feodor Fitsner on 05 Jun, 2015 06:14 PM
Yes, please.
- Feodor
4 Posted by lair on 05 Jun, 2015 06:21 PM
https://ci.appveyor.com/project/srogovtsev/trekstack-api
Support Staff 5 Posted by Feodor Fitsner on 05 Jun, 2015 08:24 PM
OK, converted to GitHub project. Update repo webhook URL and give it another try.
6 Posted by lair on 05 Jun, 2015 08:56 PM
Now it is working as expected, thank you very much!
lair closed this discussion on 05 Jun, 2015 08:56 PM.