1. Olaf Brungot
  2. PowerBuilder
  3. Monday, 23 October 2017 09:28 AM UTC

Could someone please post an example of how to connect from orcascript to Team Foundation Server.

scc set property userid = "Domain\user"
scc set connect property provider = "Microsoft Team Foundation"
scc set connect property logfile = "path-to-log-file"
scc set connect property project = "Servername\tfs\defaultcollection"
scc set connect property localprojpath = "path-to-local-files"
scc set connect property auxproject = "???"
scc set connect property logappend = "TRUE"
scc set connect property deletetempfiles = "TRUE"

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Monday, 23 October 2017 13:39 PM UTC
  2. PowerBuilder
  3. # 1

Hi Olaf;

   Here is an example script for your review ...

start session
scc get connect properties "C:\work\.pbw"
scc set connect property provider "Microsoft Team Foundation"
scc set connect property userid "appeon"
scc set connect property password "appeon"
scc set connect property localprojpath "C:\work\pb"
scc set connect property project "$//pb"
scc set connect property logfile "C:\work\pb\pbscc170.log"
scc set connect property logappend "FALSE"
scc set connect property deletetempfiles "FALSE"
scc connect
scc set target "C:\work\pb\.pbt" "refresh_all"
scc refresh target full
build application full
build executable "..\.exe" "..\logo.ico" "" "yy"
scc close
end session

HTH

Regards ... Chris

Comment
  1. Olaf Brungot
  2. Tuesday, 24 October 2017 07:44 AM UTC
Thank you, Chris!



Much appreciated!

  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.