- Marco Meoni
- PowerBuilder
- Tuesday, 14 December 2021 05:43 PM UTC
Hello,
I am using PBAutoBuild210 but have following error when trying to pull the code from GIT before build it.
14:53:53 [Normal] Start processing download source code segment.
14:53:53 [Normal] Start downloading the source code.
14:53:53 [Normal] Execute Git Init
14:53:53 [Normal] Execute Git Connect
14:53:57 [Error] Cannot connect to the repository. Please make sure you have specified the correct repository URL, user ID and password.
14:53:57 [Error] Failed to connect the git remote.
Bye (-_-)
Appeon doc describes how to specify the "SrcPath" option in application project JSON file:
https://docs.appeon.com/pb2021/pbug/ch07s03.html#Build_the_Application_project_with_commands
I assume SrcPath is the typical GIT clone link ending with .git, in my case
https://server.com/group/project/app.git
So, I modify app.json file as such
{"SrcPath": "https://server.com/group/project/app.git","User": "marmeo","Password": "V2dkZ297OjE0Og==","DestPath": ".\\Build","Proxy": {"Ip": "","Port": 0,"Username": "","Password": ""}}
But the error above pops up.
Appeon doc shows an example with unusual GIT URL (no .git)
{"SrcPath": "https://github.com/Appeon/PowerBuilder-AutoBuild-Sales-SourceCode" ...
which I tried also but same error.
I dont need proxy as GIT repo is internal.
User and (encrypted) pasword are correct.
How to understand further the root of the error? PBAutoBuild120 log and error log dumps show just above error.
Best,
.m
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.