Question about running a new build on AppVeyor when there is a job for a specific branch.
My appveyor.yml has four jobs and two jobs have this setting to trigger when it is a master branch.
Example of a job
- matrix:
only:
- job_name: Build Test App
branches:
only:
- master
This is working when I push my commit in my feature branch (not master) to bitbucket. Only two jobs without the branches setting are executed as expected.
However, if I manually rebuild on AppVeyor page, a new build will trigger all jobs regardless of the setting of branches.
Is there a way to ensure the jobs are triggered correctly when I manually rebuild?
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 02 Nov, 2020 10:48 PM
You mean you are not getting the same behaviour with "Re-build commit" button or "New build"?
2 Posted by weerayuth_r on 03 Nov, 2020 01:15 AM
Hi Feodor
Correct. All jobs are triggered when using "Re-build commit" button and "New build" button.
Support Staff 3 Posted by Feodor Fitsner on 03 Nov, 2020 02:08 AM
One of the ways to workaround that issue is to "re-deliver" webhook request on GitHub repository.
4 Posted by weerayuth_r on 03 Nov, 2020 03:00 AM
Sorry. I didn't mention earlier. I'm using Bitbucket. I don't see an option for "re-deliver" on Bitbucket.
Do you know if there is another workaround which might work with Bitbucket?
Support Staff 5 Posted by Feodor Fitsner on 03 Nov, 2020 07:16 PM
You can do some trivial changes to the code and push updates just to kick off a new build.
6 Posted by weerayuth_r on 05 Nov, 2020 06:37 AM
Thanks Feodor. I haven't got a solution for this yet.
However, I will address later if I need to.
If I make it working, I will share a solution.
weerayuth_r closed this discussion on 05 Nov, 2020 06:37 AM.