1

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.

Tzvetlin Velev
  • 1,897
  • 2
  • 17
  • 31

1 Answers1

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.