Hello,
I'm going to setup my bitbucket pipeline for the following config:
- .net c# framework
- restsharp for API testing
- reporter mocha
please share the sample config code.
Hi,
If you run Pipelines builds on Atlassian's infrastructure, these builds run in Docker containers. For every step of your build, a Docker container starts (the build container) using the image you have specified in your bitbucket-pipelines.yml file. The repo is cloned in the build container, and then the commands of the step's script are executed. When the step finishes that Docker container gets destroyed.
The commands in a step of your bitbucket-pipelines.yml are Linux commands or commands from different command-line tools. If the Docker image you use as build container has the tools you need preinstalled, you can use their commands in your yml file. Otherwise, you will need to add commands in your yml file that install these tools before you use them. We support public and private Docker images including those hosted on Docker Hub, AWS, GCP, Azure and self-hosted registries accessible on the internet.
You can check the documentation of the tools you listed here for instructions on how to install them (if they are not already preinstalled in the image you use as a build container) and how to use them.
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.