I have a sbt project with 4 modules: module-a, module-b, module-c, module-d.
module-a
module-b
module-c
module-d
Each module can be packaged as a WA
Quote the argument to project, i.e. project module-a, and don't use a dash before the name of the submodule.
project module-a
The entire command line for the Jenkins job would than be as follows:
./sbt "project module-a" clean update test