echo -------------------------------
set PATH=%PATH%;C:\apps\Datical\repl
git clone http://user@bitbucket.datical.net/scm/bbu/ddb.git
cd ddb
git branch --set-upstream-to=origin/master master
git status
call hammer findChangeSets --lookupChangesets="abandoned,%lookupChangesets%"
echo
call
hammer removeLabels --lookupChangesets="abandoned,%lookupChangesets%" --labels="abandoned"
echo
call hammer addLabels --lookupChangesets="%lookupChangesets%" --labels="%newReleaseLabel%"
echo
call
hammer findChangeSets --lookupChangesets="%lookupChangesets%,%newReleaseLabel%"
REM add steps to commit Datical project into Git.
echo commit new changes back into Bitbucket
call git add -A
call git commit -m "Automations:UnabandonScript-%lookupChangesets% - build number=%BUILD_NUMBER%"
call git push -u origin master
echo ------------------------------- |