How can I deploy a project configuration to a group of devices?

There are multiple ways to deploy a project to a group of devices. You can either explicitly state the project version or use the “latest” keyword to implicitly deploy the most recently built version of the project to a single group or multiple groups of devices. Below is an example of all the possible ways to deploy a project using the Mason CLI.


Note:

  • You will need Mason CLI v1.5 or higher installed in order to use the “latest” keyword.
  • The examples below use the -p option to automatically push an update to the device. If your device has configurations that has customized device update times then the -p option will override those settings.
  • To deploy a specific version of a project to a group of devices run the following command:
    $ mason deploy -p -y config PROJECT_ID 10 GROUP_1
    	
  • To deploy the latest version of a project to a group of devices run the following command:
    $ mason deploy -p -y config PROJECT_ID latest GROUP_1
    	
  • To deploy a specific version of a project to multiple groups of devices run the following command:
    $ mason deploy -p -y config PROJECT_ID 10 GROUP_1 GROUP_2
    	
  • To deploy the latest version of a project to multiple groups of devices run the following command:
    $ mason deploy -p -y config PROJECT_ID latest GROUP_1 GROUP_2
    	

Still need help? Contact Us Contact Us