-
Improvement
-
Resolution: Unresolved
-
Major
-
None
Although help message says "Set path to Questa VRM executable. This can be just "vrun" or a complete path. ", it seems Jenkins process needs to have the complete environment of Questa.
Even if you specify the full path of vrun, it is not sufficient because you need also the license environment.
If Jenkins process has to have the complete environment of Questa, you cannot easily switch Questa version. This is very inconvenient.
We need a Post-build Action field like execute shell for build.
A possible workaround for this issue is using a wrapper for vrun.
% cat /opt/mentor/questa-10.5c/questasim/bin/vrun_wrapper
#!/bin/sh
module load questa/10.5c
vrun
and you put the full path of this wrapper in Path to Questa VRM Executable.
It seems almost working, but I saw a strange error.
[ERROR]: Vcover executable '/opt/mentor/questa-10.5c/questasim/bin/vcover_wrapper' not found. Returning empty coverage results.
Recording finished.
Build step 'Publish Questa VRM Regression Results' changed build result to UNSTABLE
Finished: UNSTABLE