What configuration examples would you like to see for Bitbucket Pipelines?

Joshua Tjhin Atlassian Team Jul 31, 2016

As a user trying to configure your bitbucket-pipelines.yml, what examples would like to see?

Currently we have the following examples during set up:

  • .NET Core
  • Java - Maven
  • Java - Gradle
  • Node.js
  • Ruby
  • Python
  • PHP

Please upvote the answer or submit additional ones

116 answers

This widget could not be displayed.

Obj-C / Swift

Swift 4.1

# Swift 4.1.2

This widget could not be displayed.

Scala - SBT

Scala, using this docker image. I'll add this to template selection next week.

image: bitbucketpipelines/scala-sbt:scala-2.12

pipelines:
  default:
    - step:
        script:
          - sbt test

 

This widget could not be displayed.

c#

So there is no way I can build a .NET 4.5 project now using pipelines?

Yes (or better no :-) - it's not possible to build .NET 4.5 projects using pipeline. Based on technology behind pipeline, I fear it will never be possible until Microsoft does a hughe step. Btw: It's working with .NET Core

This widget could not be displayed.
Joshua Tjhin Atlassian Team Jul 31, 2016

Go (golang)

Joshua Tjhin Atlassian Team Oct 14, 2016

We've added this example in-product for Go!

image: golang:1.7
pipelines:
  default:
    - step:
        script: # Modify the commands below to build your repository.
          - PACKAGE_PATH="${GOPATH}/src/bitbucket.org/${BITBUCKET_REPO_OWNER}/${BITBUCKET_REPO_SLUG}"
          - mkdir -pv "${PACKAGE_PATH}"
          - tar -cO --exclude-vcs --exclude=bitbucket-pipelines.yml . | tar -xv -C "${PACKAGE_PATH}"
          - cd "${PACKAGE_PATH}"
          - go get -v
          - go build -v
          - go test -v
This widget could not be displayed.

Elixir/Erlang

Erlang/Elixir for Phoenix installs.

Objective-C and Swift

This widget could not be displayed.

C++

CMake - looks like there is a C++ example with `make`

Here a link to the example with C++/CMake project:

pipeline_cpp

This widget could not be displayed.
Joshua Tjhin Atlassian Team Jul 31, 2016

Scala

Joshua Tjhin Atlassian Team May 14, 2017

 

image: bitbucketpipelines/scala-sbt:scala-2.12

pipelines:
  default:
    - step:
        script:
          - sbt test

Using this docker image I created

 

 

This widget could not be displayed.

C#

This widget could not be displayed.

C++ / Qt

This widget could not be displayed.

C# basically Xamarin Projects.

This widget could not be displayed.

Android, please. And I need to know the location of the .apk file once it is generated when I build. Thank you.

This widget could not be displayed.

We often use Bitbucket for writing papers or creating slides. Support for LaTeX / Beamer would be greatly appreciated by our team.

This widget could not be displayed.

Obj-c / Swift

This widget could not be displayed.

The full .Net stack. Now we just have .Net Core

Ian Buchanan Atlassian Team May 02, 2017

What build tools are popular with .NET folks these days? MS Build is there whether you like it or not, but what about Fake or PSake? Any others?

MS Build is the way to go :-)

This widget could not be displayed.

Android + option to build specific branch from Bitbucket repo

This widget could not be displayed.

Go

This widget could not be displayed.
Joshua Tjhin Atlassian Team Jul 31, 2016

PHP - Laravel

Why Laravel? 

This widget could not be displayed.

C++ - CMake (at least for Unix gcc, MinGW gcc and Visual Studio Visual C++ Compiler)

I agree with that!

Here a link to the example with C++/CMake project:

pipeline_cpp

This widget could not be displayed.
This widget could not be displayed.

Angular

This widget could not be displayed.
Joshua Tjhin Atlassian Team Jul 31, 2016

Rust

This widget could not be displayed.
Joshua Tjhin Atlassian Team Jul 31, 2016

Clojure

+1 for Clojure/Leiningen. It's super easy to add though:

image: clojure:lein

pipelines:
  default:
    - step:
        script:
          - lein clean
          - lein test
This widget could not be displayed.

Fortran

This widget could not be displayed.

C

This widget could not be displayed.

QML

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

1,319 views 8 11
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