Set Application & Version
Application names and versions serve as a user-defined version control of the software updates deployed to your devices.
Last updated
Application names and versions serve as a user-defined version control of the software updates deployed to your devices.
Last updated
Version control of software updates on thousands of devices in your fleet can be very difficult. The application concept in JFrog Connect provides a simple yet powerful way to keep track of your fleet.
In Connect, you create an application, which is simply a name. When you create a software deployment, you will use the application name along with a version number as a way to associate software in the update with the devices the update is deployed to. This enables you to always know exactly which code (i.e., application and version) is running on a specific device. You can also filter devices by application and execute commands based on the filter used.
An example would be a product that includes four different services running on the device simultaneously. To utilize the application concept, define each service of your product as an application. When you update one of the services, simply define the new version of that service as the version of your application. This will enable you to know which version of the software exists on each device.
You set your application and version when you configure a new deployment. To set the application, do the following:
In the New Deployment configuration, select the devices for the software update. It is recommended that you do this before entering an application version, but you can also do it afterwards.
Choose Set application name and version and choose an application from the dropdown list. If your application does not appear in the list, you can choose Create New Application. Once you have created the new application, it will appear in the list.
Enter a version for the application that you chose.
When you create the new deployment, the application and version will be associated with the devices that you chose.
You can set the application and version using the Update Deployment API call. In the body of the API request, use the app
parameter with values for name
and version
.
Learn how to configure an Alert upon Failure for your software deployment.