First, a bit of background around what happens when you run a pipeline job using Continuous Delivery. Everything you put in the custom script field of a job configuration will get executed on a fresh container. This container is stood up at job execution time using a base image provided by IBM. Anything not included in said base image won't be available in your pipeline job, at least not out of the box.
Now, since said base image doesn't include SBT, you must download it and add it to your PATH manually. Below is a script you can use to do that.
#!/bin/bash
wget --output-document=/tmp/sbt.tgz https://github.com/sbt/sbt/releases/download/v1.0.0/sbt-1.0.0.tgz
tar -xvf /tmp/sbt.tgz --directory=/tmp
export PATH="/tmp/sbt/bin:$PATH"
chmod +x /tmp/sbt
// Run sbt commands below here
NOTE: I'm not familiar with SBT and how its configured, but you will probably need to play around with the Java runtimes on the container to support the scala version you are having SBT use. Java7 and 8 are included, with 7 being the default. To switch to Java8 you can include the following in your job script:
#!/bin/bash
export JAVA_HOME=$JAVA8_HOME
export PATH="$JAVA_HOME/bin/:$PATH"
java -version # Verify that we are using java8 runtime