Push to remote git server

Confluence User - 07 Apr, 2020

I followed the document for setting up the Git Configuration for our app. On the server i can see that joget configures the remotes for the git repository, but i don't understand how/when joget pushes the local git to the remote server.

git;server

4


09 Apr, 2020
confluenceUser
confluenceUser

Hi, once the remote Git has been configured, I believe commits will be automatically pushed to the remote Git repository whenever there are saved changes in the local copy. 

09 Apr, 2020
confluenceUser
confluenceUser

Hi, thanks for your answer. I struggling with the GIT configuration on joget. When joget tries to access the remote server via SSH i get an error "Host key verification failed". I added the host to the ~/.ssh/known_hosts file and i i run GIT manually it connect to the server without an issue.

Does Joget uses a different set of ssh configuration files? On the system i set up the ~/.ssh/config and ~/.ssh/known_hosts for private authentication.

09 Apr, 2020
confluenceUser
confluenceUser

I don't see an option for setting SSH keys in the Git configuration, so I am guessing that you will need to use username password authentication with your Git repository.

09 Apr, 2020
confluenceUser
confluenceUser

Yes and this is exactly what i did. Using the regular command line 'git push' in the app source dir works without any trouble. But when joget tries to access the git remote server i get an "Host key verification failed" error. I see that joget is using jgit, so does joget tell jgit to use the "usual" SSH configuration files or not?

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print