Default branch vs Branches to build

tugberk's Avatar

tugberk

14 Oct, 2014 11:13 AM

In one of my projects (https://ci.appveyor.com/project/tugberkugurlu/kloggy), I had the default branch as master. Also, Branches to build has the following branches:

- master
- dev

When I pushed a commit to dev, it didn't pick that up and start building. Is this the expected behavior?

  1. Support Staff 1 Posted by Feodor Fitsner on 14 Oct, 2014 06:42 PM

    Feodor Fitsner's Avatar

    Do you want to skip building of dev branch?

  2. 2 Posted by tugberk on 14 Oct, 2014 06:56 PM

    tugberk's Avatar

    No, I want to build master and dev branches. My default branch is now set to dev and the list is the same:

    - master
    - dev

    However, when I push a commit to dev, it's not picking it up. Can u have a look if possible? project: https://ci.appveyor.com/project/tugberkugurlu/kloggy

    Thanks for the help!

  3. 3 Posted by tugberk on 14 Oct, 2014 06:58 PM

    tugberk's Avatar

    Let me correct myself: I want to build master and dev branches + pull requests :)

  4. Support Staff 4 Posted by Feodor Fitsner on 14 Oct, 2014 07:05 PM

    Feodor Fitsner's Avatar

    You mean kicking off two builds (dev and master) simultaneously on a single commit?

  5. 5 Posted by tugberk on 14 Oct, 2014 07:35 PM

    tugberk's Avatar

    Nope. When I push a commit to dev branch, I want to kick of a build for the dev branch only. When there are new commits to master, I want to kick of a build only for master.

  6. Support Staff 6 Posted by Feodor Fitsner on 14 Oct, 2014 07:41 PM

    Feodor Fitsner's Avatar

    I see. This is how it currently should work.

    However, in appveyor.yml under dev branch there is only master specified: https://github.com/tugberkugurlu/KLoggy/blob/dev/appveyor.yml which effectively means pushing to dev branch won't start a new build.

  7. 7 Posted by tugberk on 14 Oct, 2014 07:47 PM

    tugberk's Avatar

    Oh my! forgot about appveyor.yml :s will change it accordingly and see how it's functioning now.

  8. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:49 AM.

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