It's very strange as it takes only 15 seconds to get latest from Vault when it runs through final builder but it takes more than 10 mins when we run the same project through final builder server url.
What can be the reasons for thie behaviour? Is there a way to improve this ?
My guess is that you do not have a working directory set for the vault user on the server. We’re just calling the vault command line and there’s no difference in our code whether it’s running under FB Server or not. Open the vault gui on the server (while logged in as the user the build runs under), login to vault under the same vault user as the build process uses and set the working folder for the project. That should speed things up (can’t be more specific at the moment as I don’t currently have vault installed).