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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.