Language guides

Here are example bitbucket-pipelines.yml files for different languages.



On this page



   Javascript (Node.js)

See our full guide - Javascript (Node.js) with Bitbucket Pipelines.



# You can use any Docker image from Docker Hub or your own container registry
image: golang:1.7
    - step:
        script: # Modify the commands below to build your repository.
          - 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



See our full guide - Java with Bitbucket Pipelines.



See our full guide - Ruby with Bitbucket Pipelines.



See our full guide - Python with Bitbucket Pipelines



See our full guide - PHP with Bitbucket Pipelines


   Other supported languages

You can build any language that can be built on Linux by using Docker images.

Some Docker images you can use from Docker Hub to build other languages:

See also 

Remember, if you're having trouble using Bitbucket Pipelines an active community is always there to help.

Was this helpful?

Thanks for your feedback!

Why was this unhelpful?

Have a question about this article?

See questions about this article

Powered by Confluence and Scroll Viewport