Accessing Bitbucket Pipeline Containers from External Tool

Eddie Webb Community Champion May 02, 2017

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

0 votes
Eddie Webb Community Champion May 02, 2017

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 Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

638 views 0 4
Read article

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot