Bitbucket is popular for it's services and it stands out among other version control repository hosting services because of Bitbucket Pipelines. Bitbucket Pipelines is an Integrated Continuous Delivery/Continuous Integration feature for Bitbucket Cloud. (See Bitbucket Pipelines).
If you are using some other Continuous Integration Server, you can integrate vREST with that easily similar to Jenkins, TeamCity etc. If you face any issues then do let us know by dropping an email to support@vrest.io |
vREST can also be integrated with Bitbucket Pipelines using vrunner (command-line utility for running vREST Test Cases). So, following are the steps to configure vrunner into Bitbucket Pipelines.
Step 3: Creating bitbucket-pipelines.yml
To setup Bitbucket Pipelines, you have to create a bitbucket-pipelines.yml file and save it into the git directory of your project. Here is a sample bitbucket-pipelines.yml for a node.js project:
# You can use any other version of node. This is only required in the case of a node.js application. image: node:6.9.4 pipelines: default: - step: caches: - node - vrunnercache script: # Modify the commands below to build your repository. - node server.js & #Deploy and start your Test application Server - if [ ! -e "vrunner/vrunner_linux_x_x_x" ]; then wget -O vrunner/vrunner_linux_x_x_x https://s3.amazonaws.com/vrest-public/vrunner_linux_x_x_x ; fi - chmod +x vrunner/vrunner_linux_x_x_x - vrunner/vrunner_linux_x_x_x --email=<EMAIL> --password=<PASSWORD> --logger=xunit --filepath="test-reports/logs.xml" --url="<URL>" definitions: caches: vrunnercache: vrunner |
That is all for vREST's integration with Bitbucket Pipelines. If you have any issues, then feel free to contact us on the Customer Support.