Hello, dis you plan to integrate with SBT in Pipelines ?

 

2 answers

1 accepted

0 vote

You can already use SBT inside of Pipelines!

Try adding the following to your bitbucket-pipelines.yml file:

pipelines:
  default:
    - step:
        script:
          - apt-get update
          - apt-get install apt-transport-https
          - echo "deb https://dl.bintray.com/sbt/debian /" | sudo tee -a /etc/apt/sources.list.d/sbt.list
          - apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 642AC823
          - apt-get update
          - apt-get install sbt
          - #add the sbt commands you want to run here

That should help you get a first build set up. After that, you can try looking for a Docker image that already has sbt installed. Or you can have a go at making your own! smile https://answers.atlassian.com/questions/39140980

There is another question that is tracking language examples for Bitbucket Pipelines. https://answers.atlassian.com/questions/39566559 You should upvote (and add) any languages you would like to see examples of. smile

Thank you for the detailed answer.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 06, 2018 in Bitbucket

Do you use Bitbucket Cloud and Jira Cloud? If so, let us know!

Hi Community, I'm Julia and I'm on the Jira Software Cloud marketing team!  We're looking for companies or teams using Bitbucket Cloud and Jira Software Cloud. If your team fits the t...

91 views 3 3
Join discussion

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