I’m running a cordova command that can return ok but the output message show not ok.
I need to test the cordova console result and fail stage if found text could not write to dest file
on it.
Here is my pipeline job:
<code>build-job:
stage: build
script:
- npm install
- cordova build android
- gradlew wrapper clean assembleRelease
</code>
<code>build-job:
stage: build
script:
- npm install
- cordova build android
- gradlew wrapper clean assembleRelease
</code>
build-job:
stage: build
script:
- npm install
- cordova build android
- gradlew wrapper clean assembleRelease
I have no idea of what to do here.
I had search on internet, but no luck.