-
Bug
-
Resolution: Unresolved
-
Blocker
-
None
-
Bitbucket Branch Source Plugin Version 934.4.1
Bitbucket Plugin Version 254.v9d8ec33a_7a_42
Hello i am using the same creditionals to setup the Multi Branch Pipelines, that works, the triggers works, it scans and brings in the correct branches but the issue is it would fail all the builds at step 1 as can't fetch anything from the repo. It works on an older version but I don't know how to install old version as of now. As my other system is using an older version. Moreover the setup I did few days ago also had this working so would be even more recent change, it's lost so can't see the version from there anymore.
Logs
Obtained Jenkinsfile from 87558ef9067be93885214922ed7a2163bbe8ff34 [Pipeline] Start of Pipeline [Pipeline] nodeRunning on [Jenkins|https://jenkins.helpicon.se/computer/(built-in)/] in /var/jenkins_home/workspace/helpicon-jenkins-packages_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: NONE using credential f5bde149-e1a2-40c5-bf68-4195111fc43b > git rev-parse --resolve-git-dir /var/jenkins_home/workspace/helpicon-jenkins-packages_main/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url [https://bitbucket.org/helpicon/helpicon-jenkins-packages.git] # timeout=10 ERROR: Error fetching remote repo 'origin' hudson.plugins.git.GitException: Failed to fetch from [https://bitbucket.org/helpicon/helpicon-jenkins-packages.git] at PluginClassLoader for git//hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:999) at PluginClassLoader for git//hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1240) at PluginClassLoader for git//hudson.plugins.git.GitSCM._checkout(GitSCM.java:1311) at PluginClassLoader for git//hudson.plugins.git.GitSCM.checkout(GitSCM.java:1278) at PluginClassLoader for workflow-scm-step//org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:136) at PluginClassLoader for workflow-scm-step//org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:101) at PluginClassLoader for workflow-scm-step//org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:88) at PluginClassLoader for workflow-step-api//org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.lang.Thread.run(Thread.java:840) Caused by: hudson.plugins.git.GitException: Command "git config remote.origin.url [https://bitbucket.org/helpicon/helpicon-jenkins-packages.git]" returned status code 128: stdout: stderr: fatal: not in a git directory at PluginClassLoader for git-client//org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2848) at PluginClassLoader for git-client//org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2768) at PluginClassLoader for git-client//org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2763) at PluginClassLoader for git-client//org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:2052) at PluginClassLoader for git-client//org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:2064) at PluginClassLoader for git-client//org.jenkinsci.plugins.gitclient.CliGitAPIImpl.setRemoteUrl(CliGitAPIImpl.java:1664) at PluginClassLoader for git-client//hudson.plugins.git.GitAPI.setRemoteUrl(GitAPI.java:180) at PluginClassLoader for git//hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:987) ... 12 more ERROR: Error fetching remote repo 'origin' ERROR: Maximum checkout retry attempts reached, aborting [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline ERROR: Error fetching remote repo 'origin' [Bitbucket] Notifying commit build result [Bitbucket] Build result notified Finished: FAILURE
- duplicates
-
JENKINS-75216 Unable to get password from credentials during git fetch using App password
-
- Open
-
I suppose 934.3.2 could work