开发者

Finalbuilder trigger update repositiry from mapped drive

开发者 https://www.devze.com 2023-02-16 20:20 出处:网络
We store some git repositories on local fileservers. On finalbuilder-server I made a \"Git-Trigger\" which should trigger the build when repository is updated.

We store some git repositories on local fileservers. On finalbuilder-server I made a "Git-Trigger" which should trigger the build when repository is updated. I checked the option "Update from remote repository:". On "Remote repository:" I set "X:\pathToRemoteRepo". X:\ as mapped drive should be available for the trigger by setting the option "Map Network Share".

开发者_高级运维

I always get error:

Could not update respository C:\pathToLocalRepo from X:\pathToRemoteRepo. 1 : fatal: 'X:\pathToRemoteRepo' does not appear to be a git repository fatal: The remote end hung up unexpectedly

Another approach was to set "X:\pathToRemoteRepo" as "Repository location" to observe. But the error was:

The repository location specified does not exist

Perhaps this occours because X:\pathToRemoteRepo is a bare Repo?

I simply want to monitor a git bare repository (with a finalbuilder git trigger) which is located on a mapped network share. Should be easy ...


By Default FinalBuilder runs as the system process which means it does not have access to network resources like mapped drives.

To change this setting login as the administrator into the web interface.

Then Select Administration and Configuration then under Global Project Settings You need to set an Impersonation User Name and Password.

Domain User are entered using USER@DOMAIN syntax.

Update: Mapped drives have been painful at best when working with the server version of FinalBuiler. It's always easier to use UNC. \SERVERNAME\PATH

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号