How can I fetch source code from synergy using Jenkins

892 Views Asked by At

I have installed synergy plugin for Jenkins.

I want to fetch some code from synergy DB.

How can I do it using jenkins?

I have given all the details in SCM section of Jenkins like DB value, Engine, Username and password.

1

There are 1 best solutions below

12
On BEST ANSWER

Well, as i stated in my comments, the reason behind the following original issue error was related to PATH:

Cannot run program "ccm" (in directory "C:\Program Files\Jenkins\jobs\test\workspace"): CreateProcess error=2, The system cannot find the file specified...

For the second issue i.e.,

Cannot run program "C:\Program Files\IBM\Rational\Synergy\7.1\bin" (in directory "C:\Program Files\Jenkins\jobs\test\workspace"): CreateProcess error=5, Access is denied

it seems you have not specified the full path to the executable as shown in the above error message.

Hopefully, changing

"C:\Program Files\IBM\Rational\Synergy\7.1\bin"

to

"C:\Program Files\IBM\Rational\Synergy\7.1\bin\executable_name.exe"

should do the trick.