I am trying to create an automated deployment process for Bitbucket. Everything seems to be doable except for generating a server ID to get a license.
Right now, you have to deploy the server, start it up and let it generate an ID, then manually use that ID to get a license. You can then put that license in the bitbucket.properties file, and finish the deployment and apply configurations.
I need to get an ID first, to get a license. Then deploy in one shot with that license. Is this possible? Is the ID just random? Does it matter what it is?