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:
Please upvote the answer or submit additional ones
Obj-C / Swift
Swift 3
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
swift 3.1
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Swift 4.1
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
# Swift 4.1.2
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Scala - SBT
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
c#
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So there is no way I can build a .NET 4.5 project now using pipelines?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Go (golang)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I dont think this works any longer, when going to go get -v it returns:
go install: no install location for directory /opt/atlassian/pipelines/agent/build/${PACKAGE_PATH} outside GOPATH
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That's exactly the output I got. I've tried setting GOPATH and GOBIN, to no avail.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
C++
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
CMake - looks like there is a C++ example with `make`
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Here a link to the example with C++/CMake project:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Elixir/Erlang
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Erlang/Elixir for Phoenix installs.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
+1
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Objective-C and Swift
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
+1 Elixir/Phoenix
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Scala
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
image: bitbucketpipelines/scala-sbt:scala-2.12 pipelines: default: - step: script: - sbt test
Using this docker image I created
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
C++ / Qt
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@xtjhin
Hi, Joshua,
I would really really like to have a sample for C++ with Qt5 build sample.
The Qt Eco System is getting quite popular recently and I believe it would help bunch of developers. Actually, I have hardly found C++ Qt5 samples. I could find in Travis CI, but others were less or hard to find a simple sample.
Thank you in advance.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Android, please. And I need to know the location of the .apk file once it is generated when I build. Thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We often use Bitbucket for writing papers or creating slides. Support for LaTeX / Beamer would be greatly appreciated by our team.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Android + option to build specific branch from Bitbucket repo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
MS Build
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
MS Build is the way to go :-)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Obj-c / Swift
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
C++ - CMake (at least for Unix gcc, MinGW gcc and Visual Studio Visual C++ Compiler)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I agree with that!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Here a link to the example with C++/CMake project:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
PHP - Laravel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Angular
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
C
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Fortran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Clojure
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
+1 for Clojure/Leiningen. It's super easy to add though:
image: clojure:lein pipelines: default: - step: script: - lein clean - lein test
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What is the "zip file" needed to deploy to heroku?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Perl
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yeah! It's would be really cool!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I want Perl too
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.