I need to build my app for different platforms(for exmple: Linux and Android) with the same source. cmake is applied. Is it possible to add two sets of build steps to do it in one Jenkins’ configure?
The typical steps are
CMake build
CPack
execute shell
I want to do it twice with different settings(same source).
Sounds like you are using freestyle job. Its a lot less flexible than pipeline. In pipeline you could just call cmake multiple times serially or in parallel, but freestyle you are kinda ironically kinda limited. That being said, you can just add multiple cmake steps can’t you?