Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X
Hi, guys
We would like to create a script that is able to detect the sandbox changes compared with the PTC project in order to automatically check-in the changes into the PTC project.
All changes should be detected (e.g: add, drop, modify, moved files etc.). Does somebody have such a tool or an idea of how to implement such a script? (What commands sequence is needed for this kind of behavior?)
Thanks in advance.
You could use the "si viewnonmembers" command to detect new files and the "si viewsandbox" command together with filters ( e.g. "--filter=changed:working" ) to identifiy the files of interest and handle these as you please using other CLI commands.
I'd recomment to do this outside the server e.g. on a separate machine (Jenkins) and not insoide a server trigger script.