I would like to be able to call code-push logout
before calling login with a specific key within a stage of my gitlab pipeline. If the runner is already logged out I get an error: [Error] You are not currently logged in. Run the 'code-push login' command to authenticate with the CodePush server.
that fails my job. Is there any way I can invoke this command without failing the job.
Asked
Active
Viewed 283 times
1

Tzvetlin Velev
- 1,897
- 2
- 17
- 31
1 Answers
1
code-push
cli doesn't have this functionality to disable Errors. You could use appcenter cli(https://github.com/Microsoft/appcenter-cli) with the same functionality. There is --quite
filed which disable all errors for CI or other tasks.

Alexander Goncharov
- 158
- 5