Nativescript Cloud Build for Android Circle CI

432 Views Asked by At

I am trying to create a circle ci build job for sample nativescript application. The job can be found at https://circleci.com/gh/rakeshgirase/CloudBuild/3. It fails with error You are missing the nativescript-cloud extension and you will not be able to execute cloud builds. Can someone please guide me how can I fix this?

2

There are 2 best solutions below

0
On BEST ANSWER

You should add following to your config.yml file. It will basically select the choices asked by these plugins.

  - run: echo yes | tns setup
  - run: echo yes | tns cloud setup
3
On

You would need to run the tns cloud setup command which would install the nativescript cloud extension. https://docs.nativescript.org/tooling/docs-cli/cloud/cloud-setup

If nativescript cloud extension is installed for circle ci you need to perform the steps mentioned here. https://discourse.nativescript.org/t/nativescript-4-not-working-on-circleci/6363