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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Connect selenium to bitbucket piplienes

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.
Jan 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