Smoke tests AFTER build on BitBucket

rok.lenardic's Avatar

rok.lenardic

08 Jun, 2020 07:38 AM

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

  1. Support Staff 1 Posted by Feodor Fitsner on 22 Jun, 2020 04:58 PM

    Feodor Fitsner's Avatar

    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. 2 Posted by rok.lenardic on 23 Jun, 2020 05:54 AM

    rok.lenardic's Avatar

    Is that possible using the appveyor.yml configuration?

  3. Support Staff 3 Posted by Feodor Fitsner on 23 Jun, 2020 05:23 PM

    Feodor Fitsner's Avatar

    It should be a command, like "Invoke-WebRequest" PowerShell cmdlet.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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