Automating license upload
I am trying to automate the install of an environment for various testing and education purposes. I would like, as part of my scripted setup, to be able to upload a license file. However, I've hit a brick wall. I can find no ANT or REST api to access the license service. I was able to find the ILicenseAdminService in the Java API however. The problem, though is that when trying to upload a license file, I get a Java error (MarshallerNotDefinedException) that I cannot get past. The code I use is posted below.
Is anyone aware of any method to automate uploading a license without having to go through the Web UI manually?
private static void setupLicenses(Properties props, ITeamRepository repo) |
Be the first one to answer this question!
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.