Hi, Michael. Thanks for your reply. It works! Yes, using relative directory 
in module path is a good idea. 
Maya document demostrates this usage, but it is a shame that I forgot it.


Now the whole solution is:
- Put my modules under my project, e.g.
My project locates at the directory e:\dev\myproject on my local machine.
The modules locates at e:\dev\myproject\modules

Modify e:\dev\myproject\moduls\plugin0.mod:
+ MAYAVERSION:2016 PLATFORM:win64 plugin0 any ../plugin0
...
Set a environment variable MAYA_MODULE_PATH=e:\dev\myproject\modules

On Runner0, set environment variable MAYA_MODULE_PATH=
c:\GitLab-Runner\builds\00000000\group0\myproject\modules,
On Runner1, set environment variable MAYA_MODULE_PATH=
c:\GitLab-Runner\builds\11111111\group0\myproject\modules,
On Runner2, set environment variable MAYA_MODULE_PATH=
c:\GitLab-Runner\builds\22222222\group0\myproject\modules,

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/c560ed9c-ae18-4076-bbcb-2cbd9f56aef2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to