I've setup several headless UI tests using Vaadin TestBench but Jenkins fails due to licensing when running:
License for Vaadin TestBench 4 not found. Go to vaadin.com/pro for more details.
The Vaadin documentation states to put the license file in the home directory, specifically stating /Users/<home>
but that isn't a valid location for a RHEL EC2 instance.
I have tried placing my license file in /home/<user>
and /home/<user>/
and even tried creating the /Users/
directory in case it is hardcoded to only check that location.
I've tried modifying the Jenkins Maven job to add the following into MAVEN_OPTS:
-Dvaadin.testbench.developer.license=<LICENSE>
So far it always fails to find my license when running the test jobs.
What is the correct way to add licenses that Jenkins can access running on an AWS EC2 instance?