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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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?

 

 

3 answers

1 accepted

1 vote
Answer accepted
Jack Nolddor _Sweet Bananas_
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
Nov 19, 2019 • edited

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.

 

 

Oddly, the page referenced in the accepted answer, Limitations of Bitbucket Pipelines  no longer mentions that Windows is not supported (or, really, that only Linux is supported) - but AFAICT Windows is still not supported.

OK, technically Windows builds are supported... on your own infrastructure.

Use Atlassian Bamboo.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events