Hi All,
So our dev team are using Keil uVision4 to compile a job. This works fine on their machine and on a windows server when the batch file is manually run BUT when the job is run via hudson (also installed on the server server) it fails stating:
warning C500: LICENSE ERROR (R219: FLOATING LICENSE FILE (*.FLF) NOT FOUND)
All that hudson is doing is picking up the batch file and trying to execute it... Firstly I thought the user that the hudson service runs as didn't have the correct network privileges (but it does!)
Does the batch file require any reference to the Keil floating license file (stored on a shared server) - And yes the user's have full access to that *.flf file!
Many Thanks
You can read more about the error message Keil gives here:
http://www.keil.com/support/man/docs/license/license_errors.htm
As for Hudson, often users run Hudson as a service on a server, rather than having it associate with a particular account
stackoverflow.com/.../run-hudson-as-windows-service-on-different-port
This is fine as long as the service does not need access to a network drive or network resources.
...because when running as a service, there are no user accounts associated with Hudson, so no windows network security permissions. The service runs as a localsystem-account.
serverfault.com/.../how-to-grant-network-access-to-localsystem-account
Most networks won't let a localsystem-account access a network drive
We ran into this very issue with Jenkins. This FAQ was useful on getting things working:
wiki.jenkins.io/.../My software builds on my computer but not on Jenkins
To get a command prompt as a local system user follow these steps:
powershell-guru.com/.../
in that powershell, try to browse to the network folder where your flf is - I suspect you won't have the security permissions to do so.