Change Project, Keep Agent Version
Change the project a device belongs to while keeping the present version of the JFrog Connect Agent on each device.
Last updated
Change the project a device belongs to while keeping the present version of the JFrog Connect Agent on each device.
Last updated
Important: This procedure is no longer applicable. If you have landed on this page and you want to move one or more devices to another project, use the procedure in Move Device between Projects.
You can use this procedure as a bulk action to change the project of multiple devices or a single device. When you switch the devices, each device will keep the present version of the Connect Agent it has, i.e., it will not upgrade to the latest Connect Agent version.
Tip: Moving a device between projects will re-register the device to the new project. Information about the previous device, including Update Flow history and device names, will be lost in the process, and the previous device will appear as offline in the previous project.
In this part of the procedure you will create a JSON file and upload it to a Deploy Files update flow. Do the following:
Create a JSON file with the name settings.json
. The file will have the following content:
Substitute <user_token>
with your user token. You can get this from the Account tab in the Settings page. Substitute <project_name>
with the name of the project you want to move the device to. For example:
In Deployment in the left menu, go to Create Update Flow, and start a new flow with the Deploy Files action block. Give the flow a name and mark Reboot after Update.
Open the Deploy Files configuration panel, and enter a name for the action block.
Enter the Destination Path on Device, for example, /etc/connect/service/
, and upload the settings.json
file that you created.
Tip: The Destination Path on Device must exist on the device before you deploy this update flow.
Save the action block configuration, mark Reboot after Update, and Create the update flow.
In this part of the procedure, you will use the deployment filters to choose the relevant devices and deploy the update flow that switches the devices to a different project. Do the following:
Go to the Update Flows tab and click New Deployment for the update flow you just created.
Select the devices to change. Your selection can include specific groups in the account and any of the additional filters, as shown in the example below.
You can set any of the other deployment options, such as a schedule or an alert. Create the deployment. To view the device in the new project, use the device filter to choose the relevant project name.
Groups can help you organize devices within a project. Learn how to create and manage groups.