I'm trying add mongodb on my bitbucket pipeline but I've the following error:
Uncaught MongoError: failed to connect to server [localhost:27017] on first connect
My bitbucket-pipelines.yml:
image: leeduc/pipelines-node-mongo
pipelines:
default:
- step:
script
- npm install
- npm test
- npm run eslint
Any idea to solve that ?