Accessing Bitbucket Pipeline Containers from External Tool

I'm using SauceLabs for end user acceptance testing of plugin compatibility across many atlassian products.

=============  shipit Integration Test Results  ==============
	jira:6.3.1                    		PENDING
	jira:7.3.1                    		PENDING
	jira-sd:6.3.1                 		PENDING
	jira-sd:7.3.1                 		PENDING
	bamboo:5.10.0                 		PENDING
	bamboo:5.15.0                 		PENDING
	bitbucket:4.0.0               		PENDING
	bitbucket:4.13.0              		PENDING
	confluence:5.10.2             		PENDING
	confluence:6.0.5              		PENDING
	fecru:4.1.0-20160624111830    		PENDING
	fecru:4.3.0-20170119092650    		PENDING
==============================================================

So i need the container URL for each docker image that is available externally so SauceLabs can invoke automated testing agaisnt the running applications.  The hostname info provided by containers is only locallly resolvable (i.e. 724babeb-d690-452c-aa9b-ef5660af34ae)

 

I was hoping there is a known domain I could append to provide to the SauceLabs tests (i.e. 724babeb-d690-452c-aa9b-ef5660af34ae.pipelines.bitbucker.com)

1 answer

It's not an answer for use cases outside of SauceLabs, but if you just need an easy way to integrate tunnerl startup with testing, their Maven Mojo is perfect solution.

https://github.com/saucelabs/sauce-java/tree/master/sauce-connect-plugin

Just add the config to your build steps and it will open and close a tunnel to localhost as part of IT testing lifecycle.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

22,881 views 26 12
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you