Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-63848

Error SCM doesnt match remote repo {1} lacks relevant info

XMLWordPrintable

      After Installing Bitbucket plugin and setting the Web Hook in Bitbucket Cloud, push to repo sends a trigger to Jenkins server.

      Jenkins receives the trigger and the json payload and it starts to go over the jobs and tries to match the trigger to the correct job.

      After going over all of the jobs, it stops with the following error:

      test_job_Pipeline SCM doesnt match remote repo {1}.

      There are two issue here:
      1. Why is there a mismatch?
      2. There is no info of what is mismatched.

      Here's the full log:

      Oct 04, 2020 1:33:25 PM FINE com.cloudbees.jenkins.plugins.BitbucketJobProbe Considering candidate job test_job
      Oct 04, 2020 1:33:25 PM FINE com.cloudbees.jenkins.plugins.BitbucketJobProbe test_job hasnt BitBucketTrigger set
      Oct 04, 2020 1:33:25 PM FINE com.cloudbees.jenkins.plugins.BitbucketJobProbe Considering candidate job master
      Oct 04, 2020 1:33:25 PM FINE com.cloudbees.jenkins.plugins.BitbucketJobProbe master hasnt BitBucketTrigger set
      Oct 04, 2020 1:33:25 PM FINE com.cloudbees.jenkins.plugins.BitbucketJobProbe Now checking SCMSourceOwners/multiBranchProjects
      Oct 04, 2020 1:33:25 PM FINE com.cloudbees.jenkins.plugins.BitbucketJobProbe Considering candidate scmSourceOwner org.jenkinsci.plugins.workflow.multibranch.WorkflowMultiBranchProject@742701[test_job_Pipeline]
      Oct 04, 2020 1:33:25 PM FINER com.cloudbees.jenkins.plugins.BitbucketJobProbe Considering candidate scmSource com.cloudbees.jenkins.plugins.bitbucket.BitbucketSCMSource{id='9b5f736a-f4a0-432f-9eed-ed2ce4bbaa82'}
      Oct 04, 2020 1:33:25 PM FINE com.cloudbees.jenkins.plugins.BitbucketJobProbe test_job_Pipeline SCM doesnt match remote repo {1}
      

       

            tzach_solomon Tzach Solomon
            borist Boris Ts.
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: