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

Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X

Script that ckecks-in automatically when changes are detected.

oostoia
1-Newbie

Script that ckecks-in automatically when changes are detected.

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.

1 REPLY 1
mrump
14-Alexandrite
(To:oostoia)

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.

Top Tags