i want to run the shell "qmltestrunner -input qml/test" on my repositories, how can i set that up? (doesn't has to be a shell, just thought its the easiest way)
and write an email to the author if a test fails.
(last but one line tells: "Totals: 21 passed, 0 failed, 0 skipped, 0 blacklisted, 222ms")
thanks
Hi Martin and welcome to the community!
Do you want to use this during a Pipelines build in the repo?
Pipelines builds that run on Atlassian's infrastructure or with a self-hosted Linux Docker runner use Docker containers. To use a certain tool, it either needs to be preinstalled in the Docker image you use as a build container or you can install it during the build by adding the necessary commands in the script of your bitbucket-pipelines.yml file.
If you're running builds on a self-hosted Linux Shell, MacOS, or Windows runner, these builds don't use Docker containers; the builds run on the host machine. In this case, any tools you need to use during your builds can be installed directly on the host.
For the commands needed to install it, you will need to check the tool's documentation.
Regarding sending an email to the author, if you run builds on Atlassian's infrastructure or with a self-hosted Linux Docker runner, you can make use of the following pipe with your mail server:
Users can also subscribe to notifications for failed pipelines builds from the Source page of the repo if they select the 3 dots next to the Clone button > Manage notifications > Watch this repository > Subscribe to notifications about all Pipelines.
Please feel free to reach out if you have any questions.
Kind regards,
Theodora
thanks a lot.
iam open to any solution. pipeline would be fine for me.
iam totally new here, i have some experience with teamcity and i remember i had to setup runners there to pull from the repository.
i guess this is done by the pipelines here. this is no priority for me, i play a bit around with the new info and come back when iam stuck again. :)
thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You are very welcome, Martin!
If you are not familiar with Bitbucket Pipelines yet, you can take a look at our documentation here:
Pipelines builds can run on Atlassian infrastructure or you can also use a self-hosted runner on one of your machines (in this case you won't be charged for any build minutes):
If you have any questions, please feel free to reach out!
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.