My jenkinsfile looks like this:
stage('Build Scala Code and Generate Dockerfile') {
container('sbt') {
sh "sbt -batch myapp/docker:stage"
}
}
For certain deployments [debugging] I would like to skip tests so that the build happens faster. Is there a way to do this in sbt? I am using the sbt docker plugin.
Replay
feature in Jenkins. I'm not looking to make this change for good or skip the tests based on a parameter.