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 hereThat 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!
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. ![]()
Thank you for the detailed answer.
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.