Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Connect selenium to bitbucket piplienes

Mahmoud Sameer January 13, 2023

my code is running normal in my local machine but when im trying to run it on bitbucket piplines im getting error
here is my yml file:

 

image: maven:3.6.3

pipelines:

default:

- step:

caches:

- maven

script:

- mvn test

1 answer

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 16, 2023

Hi @Mahmoud Sameer and welcome to the community.

Bitbucket Pipelines builds run in a Docker container based on the image you have defined in your yml file. In your example, it will be a Docker container based on the Dockerhub image maven:3.6.3.

I would suggest debugging the build locally with Docker (using the image maven:3.6.3) as per the instructions in the following guide:

You will then be able to execute commands from the script of your yml file in this setup and see if they fail with the same error or not.

Your local machine may have dependencies and tools that this Docker image is missing and that you may need to configure. If you debug this locally with Docker and you get the same error, then the issue is most likely related to the configuration of your build.

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events