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?
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.