I'm trying to automate the Resource mapping for agents in IBM uDeploy. I have a continuous delivery pipeline using Jenkins, Udeploy and Private Cloud.
I'm thinking of a shell/python script which will invoke uDeploy CLI and add the agent to a predefined group in resource tree and add certain components to the agent. The agent name, resource group and component names can predefined in the script.
Here is my resource tree
- INSANE-CI
* APPS
* SANDBOX
* PROTOTYPE
I'm struggling to find documentation about the CLI calls to add an agent to resource group and then add components.
I was wondering has anyone tried to implement this or has anyone any idea how I should approach this?