Smoke tests AFTER build on BitBucket
Hi,
we are using the appveyor bitbucket integration so that the automatic builds on appveyor also show as green/red flags on BitBucket UI.
However, we have come upon a problem when we started using BitBucket pipelines to run the API smoke tests. The issue is that appveyor build should go first and smoke test only upon successful build. But they both start in parallel. I could insert a sleep statement for 2 minutes into the smoke test script but that just burns our bibucket pipeline minutes for no good reason.
Is there a better alternative to that?
Thanks
Rok
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 22 Jun, 2020 04:58 PM
Hi Rok,
I think triggering Bitbucket Pipelines build from AppVeyor build through their API could be an option: https://developer.atlassian.com/bitbucket/api/2/reference/resource/...
2 Posted by rok.lenardic on 23 Jun, 2020 05:54 AM
Is that possible using the appveyor.yml configuration?
Support Staff 3 Posted by Feodor Fitsner on 23 Jun, 2020 05:23 PM
It should be a command, like "Invoke-WebRequest" PowerShell cmdlet.
Feodor Fitsner closed this discussion on 23 Aug, 2020 09:02 PM.