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

How Do I Setup Bitbucket Pipeline with a Windows Image

Edited

based on https://community.atlassian.com/t5/Bitbucket-questions/How-do-I-create-a-docker-image-for-Bitbucket-Pipelines/qaq-p/334724

 

I am attempting to set up a Bitbucket Pipeline for a Windows image (since we are using IAR embedded workbench as our build environment - https://www.iar.com/iar-embedded-workbench/ )

 

in my bitbucket account, I have pipelines enabled

capture_002.PNG

 

I have a Docker hub account at https://hub.docker.com

 

I have installed docker on my Windows machine

 

I have created, at my local root C:\, a docker directory and created a trivial Dockerfile at  C:\docker 

Capture.PNG

 

 

I used PowerShell and built a docker image

capture_004.PNG

 

I logged into my hub.docker.com account

capture_005.PNG

 

 

I push the image to Docker hub

capture_006.PNG

 

 

I specify the image in my bitbucket-pipelines.ymlcapture_003.PNG

 

The problem is that the build gives me the following error

capture_007.PNG

 

what do I need to do so that the build for this trivial case passes? do I need to switch the  server from linux to Windows? if so, how do I do that from within the Bitbucket environment?

 

 

2 answers

1 accepted

1 vote
Answer accepted

Hi Auden,

As described on Limitations of Bitbucket Pipelines page

For now pipelines does not support building Windows, macOS, or iOS applications (watch the linked issues to receive updates).

You can only run Linux containers, but not windows ones

Kind Regards

Is it planned to integrate this? Until when? Is there an alternative?

Like # people like this

Ping this question for 2021?

Update: Seems to be in the works for self-hosted runners, not Atlassian's cloud & docker based runners, according to comments on https://jira.atlassian.com/browse/BCLOUD-13452.

 

 

Use Atlassian Bamboo.

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.  ...

551 views 15 18
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