Issue:
Facing the below error message when running the tests from Schedule Test Run with Git Repository
[2021-11-09T12:19:13.457Z] [INFO]: Triggered by Katalon Agent v1.7.1.
[2021-11-09T12:19:13.460Z] [INFO]: Agent server: https://analytics.katalon.com
[2021-11-09T12:19:13.462Z] [INFO]: Agent user: test123@gmail.com
[2021-11-09T14:19:13.462] [INFO] katalon - Downloading test project...
[2021-11-09T12:19:13.463Z] [INFO]: Cloning from https://bitbucket.org/test123/katalonproject/src/master/ (refs/heads/master) into C:\Katalon Agent\tmp\2021.11.09-14.19--21064-5cUEMOXXRiuO-429630. It may take a few minutes.
[2021-11-09T14:19:13.497] [ERROR] katalon - executeJob: { Error: fatal: destination path 'C:\Katalon Agent\tmp\2021.11.09-14.19--21064-5cUEMOXXRiuO-429630' already exists and is not an empty directory.at GitExecutorChain.onFatalException (D:\snapshot\katalon-agent\node_modules\simple-git\src\lib\runners\git-executor-chain.js:61:87)
at GitExecutorChain.<anonymous> (D:\snapshot\katalon-agent\node_modules\simple-git\src\lib\runners\git-executor-chain.js:52:28)
at Generator.throw (<anonymous>)
Solution:
The format of the Repo URL is not correct:
https://bitbucket.org/test123/katalonproject/src/master/
Please click on the Clone button from Bitbucket > Select HTTPS Type > Copy the URL as the below red border and use this one instead:
Comments
0 comments
Please sign in to leave a comment.