Skip to content
Advertisement

When i run the build in Jenkins i got this Error : Cannot find firefox binary in PATH. Make sure firefox is installed

I created a job Maven Project in Jenkins for the purpose to Compile and execute all my automatic tests, but when i build the job i got this error :

enter image description here

i got the same message error for all the scenarios

should i create a pipeline in place of project maven ?

i recupare my project with the link ssh GitLab and im working behind a proxy

Thnaks(y)

Advertisement

Answer

Here is a docker-compose file that will open 7 instances of FF and 1 instance on chrome. I use it with azure pipeline but you can integrate it with jenkins. You’ll will have to add a jenkins task that runs docker-compose

To try on command line , just install docker desktop ( i use it with mac) and run below command

docker-compose -f /path/of/file up

JavaScript

For using docker-compose with azure pipeline , I am using the below. Make sure you have dockerRegistryEndpoint setup (in below ex: Dockerhub) . I use this to run my cucumber tests and integrate third party cucumber report (PublishCucumberReport@1)in pipeline

JavaScript

For documentation , refer – https://learn.microsoft.com/en-us/azure/devops/pipelines/tasks/build/docker-compose?view=azure-devops

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement