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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

pipeline with webserver access the pipeline website within the pipeline.

title may be a bit confusing but basically if my project is a website and I have a mysql service set up. how can I run the project/website being cloned in the pipeline say under http://localhost. i need to be able to say curl http://localhost in a step in the pipeline. im trying to setup some e2e tests.

1 answer

0 votes

Hi @Xavi 

The pattern you describe should work fine.

Your pipeline runs inside the container you specify. Once started your webserver should respond to its configured port on localhost without any additional setup.

The MySQL is another piece, and should run in a service container, that would be available on 127.0.0.1:3306

https://support.atlassian.com/bitbucket-cloud/docs/databases-and-service-containers/#MySQL-%E2%80%93-test-user

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira

Admins, notify your Jira instance of system-wide changes with the new admin announcement banner

Hi All! We’re excited to share the launch of an announcement banner that lets Jira site administrators communicate directly to their users across their  Jira Cloud instance.  ...

405 views 13 14
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you