Altera_Forum
Honored Contributor
13 years agoHow to set license file location for quartus_sh?
Hi there,
We have been able to use bash scripts to compile our projects from Nios2EDS command line. Now I am trying to use Jenkins to streamline the project building process. Jenkins starts the bash shell directly from %quartus_root%\bin\cygwin\bin, but for some reason it doesn't invoke the bashrc coming with Nios2EDS installation. So I added source command in my script file to source the bashrc, which gets me to a point that it runs quartus_sh. This is when it complaints "License file is not specified". When I ran my script file from Nios2EDS command line, it works and doesn't complaint about license file. But from Jenkins it does. 1. There must be a environment variable that has been set in Nios2EDS command line but missed when Jenkins directly launches bash shell. 2. This variable is not initialized in bashrc file. I am stuck here. Could anyone shed some lights on how quartus_sh finds the license file? Maybe with that info I can tell the quartus_sh somehow in the Jenkins setup. Thanks! Hua