The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Maya Module Path set by json

Irene Pu
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 22, 2019

Hi, 

 

Our pipeline is currently using Sourcetree to manage our scripts for Maya.

Our issue is that we've added someone new to our pipeline/Sourcetree and they can deploy code to Sourcetree; however, we have a dictionary in a .package-cfg.json file that lets the code in our repo override our current pipeline by setting their environment variables/script path to that of their local scripts rather than that of the pipeline. 

So when we import modules in the script editor in maya, if we are on the pipeline, our module paths to scripts would be like:

\\NameOfDrive\ROOT\packages\packageName\0.17.0\folderName

 

However, the json file lets us override to the scripts on our C: drive

C:\Users\username\dev\packageName\folderName

 

If I remember correctly, a blank json file is generated when we make our account; however, for this user I feel like the json file isn't helping override the Maya variables. How can I check if this person's .package-cfg.json file is properly working and connected to SourceTree?

 

Thank you

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
minnsey
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 23, 2019

Hi

Sourcetree does not interact with .package-cfg.json files, are you referring to the right application?

TAGS
AUG Leaders

Atlassian Community Events