When I'm trying to push changes to remote repository using Bitbucket APIs ,It gets process timeout
using the below code,
gitCommandBuilderFactory.builder(sourceRepo)
.push()
.refspec("refs/head/*")
.refspec("refs/tags/*")
.force(true)
.repository("http://myehia@localhost:7990/scm/test/test.git")
.build(new StringCommandOutputHandler()).call()
Or
gitCommandBuilderFactory.builder()
.workingDirectory(webDirLocation)
.command("push")
.argument("--force")
.build(new StringCommandOutputHandler())
.call()
I also increased the process timeout,but without success .
What is wrong?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.