I am currently building an hybrid app with Ionic and i need to automate the build on jenkins. However, i am using capacitor and it not allow the use of command line for building a signed apk.
I am building with this line:
sh 'ionic capacitor build -verbose --prod --release android'
It return this error :
> Task :capacitor-android:compileDebugJavaWithJavac FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':capacitor-android:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.
I know it is possible by using cordova but i cant find any way with capacitor. Does any of you have an idea how i can make it work ?