Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,364,845
Community Members
 
Community Events
168
Community Groups

Maya Module Path set by json

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

0 votes
minnsey Atlassian Team Jan 23, 2019

Hi

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

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events