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

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

Script that ckecks-in automatically when changes are detected.

oostoia
1-Visitor

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
16-Pearl
(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.

Announcements


Top Tags