I'm trying to run the below orcascript from jenkins. I saved the file as orcascrip.cmd and calling in the Jenkins job under Build section. In the Jenkins console output I see that the job is stuck at first line #Start session and it does not go to next line , however when I run the same file on windows command on the Jenkins server it works fine. Not sure if I'm missing anything in Jenkins. How do I run it from Jenkins ? Any advise. Thanks in Advance.
start session
scc set connect property localprojpath "project location"
scc set connect property logappend false
scc set connect property deletetempfiles "true"
scc connect offline
scc set target "target location\test.pbt" "refresh_all importonly"
scc refresh target "incremental"
scc refresh target "3pass"
scc close
end session
ex: OrcaScr190 test.orc
test.orc -> Is the orca script file name.