1. Anna Pally
  2. PowerBuilder
  3. Thursday, 8 July 2021 22:19 PM UTC

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

René Ullrich Accepted Answer Pending Moderation
  1. Friday, 9 July 2021 04:32 AM UTC
  2. PowerBuilder
  3. # 1

Hi Anna,

Your Script is not a windows command script (CMD)! It is a OrcaScript (OCR or what you want).

You have to run Orcascr190.exe and specify your oracescript as parameter.

HTH,

René

Comment
  1. Anna Pally
  2. Friday, 16 July 2021 16:33 PM UTC
Thank you Renee . It works without the exe extension.

ex: OrcaScr190 test.orc



test.orc -> Is the orca script file name.
  1. Helpful
There are no comments made yet.
Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Thursday, 8 July 2021 22:28 PM UTC
  2. PowerBuilder
  3. # 2

Did you follow the steps in this tech article

Did you install the OrcaScript plugin for Jenkins?

 

Comment
  1. Armeen Mazda @Appeon
  2. Friday, 16 July 2021 16:36 PM UTC
You're welcome! So sounds like your issue is resolved?
  1. Helpful
  1. Anna Pally
  2. Friday, 16 July 2021 20:51 PM UTC
Yes. It is resolved. Thanks!



  1. Helpful
  1. Armeen Mazda @Appeon
  2. Friday, 16 July 2021 21:16 PM UTC
Glad to hear that!
  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.