The default timeout for git operations in the Jenkins git plugin is 10
minutes.  You're reaching that timeout.

Some possible reasons for that timeout:

   - Authentication is blocked in command line git, waiting for a username
   and/or password to be entered.  Be sure that you've assigned credentials to
   the job and are using those credentials
   - Repository is so large that it needs more than 10 minutes to clone.
   Increase the timeout from the "Advanced clone options", or reduce the clone
   time by creating a reference repository on the agent, and include the path
   to that reference repository in the "Advanced clone options" of the job
   definition
   - Bandwidth to git repository is limited enough that it needs more than
   10 minutes to clone.  Apply same techniques as "large repository" above

Mark Waite

On Tue, Sep 26, 2017 at 6:10 AM isha chishty <[email protected]> wrote:

> HI,
>
> I am new to Jenkins and getting error when trying to build a pipeline
> using GIT.
>
> first it says no jenkinsfile but surprisingly there is a jenkins file in
> root folder.
> On trying to build indexes manually it gives me following error.
>
>
> ================================================================================================================
>
> *ERROR*: [Tue Sep 26 15:41:59 IST 2017] Could not update folder level actions 
> from source 04a321cc-def7-4f4e-8e2b-05cceb173ddb
> hudson.plugins.git.GitException: Command "git.exe fetch --tags --progress 
> origin +refs/heads/*:refs/remotes/origin/*" returned status code -1:
> stdout:
> stderr:
>       at 
> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1924)
>       at 
> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1643)
>       at 
> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:71)
>       at 
> org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:352)
>       at 
> jenkins.plugins.git.AbstractGitSCMSource.doRetrieve(AbstractGitSCMSource.java:344)
>       at 
> jenkins.plugins.git.AbstractGitSCMSource.retrieveActions(AbstractGitSCMSource.java:581)
>       at jenkins.scm.api.SCMSource.fetchActions(SCMSource.java:746)
>       at 
> jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:591)
>       at 
> com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:276)
>       at 
> com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:165)
>       at 
> jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:978)
>       at hudson.model.ResourceController.execute(ResourceController.java:97)
>       at hudson.model.Executor.run(Executor.java:419)
> [Tue Sep 26 15:41:59 IST 2017] Finished branch indexing. Indexing took 10 
> min*FATAL*: Failed to recompute children
>
>
> ================================================================================================================
>
>
> Can somebody help on this.
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/4015788c-44e4-4dcd-a191-c1e1ea79ffec%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/4015788c-44e4-4dcd-a191-c1e1ea79ffec%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtFM-MobBZX%2BWP3buS-rr0cyPf-YSu8TSYUuprGBJB3cUQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to