I have a sbt project and a sub-project called “backend”. Before using TeamCity, I build it by typing “sbt backend/compile” in the terminal under the root of the project. However, when I input “backend/clean backend/compile” in the “Commands execute” text field, it generates following errors.
1 2 3 4 5 6 7 8 9 10 11 |
[20:04:23][Step 1/1] [error] Expected ID character [20:04:23][Step 1/1] [error] Not a valid command: backend (similar: append) [20:04:23][Step 1/1] [error] Expected project ID [20:04:23][Step 1/1] [error] Expected configuration [20:04:23][Step 1/1] [error] Expected ':' (if selecting a configuration) [20:04:23][Step 1/1] [error] Expected key [20:04:23][Step 1/1] [error] Not a valid key: backend (similar: package, packageBin, package-bin) [20:04:23][Step 1/1] [error] backend/clean [20:04:23][Step 1/1] [error] ^ [20:04:23][Step 1/1] Process exited with code 1 [20:04:23][Step 1/1] Step backend (Simple Build Tool (Scala)) failed |