Automate rebase with jenkins job

Hi,

I am performing manual steps in starteam 2009 for rebase activity.
I have two windows servers. 
I want to automate this with Jenkins job (pipeline)

Please help.