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

GitLab Merge Request with Error: CouldnĀ“t find any revision to build, when updated Jenkins from 2.1 to 2.5

XMLWordPrintable

      Dear All,

      Facing an error related with the gitlab merge request plugin (when updated Jenkins from 2.1 to 2.5):
      ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.

      Roll backed to 2.1 and its working!

      GitlabMerge Request: 2.0.1 (latest)

      The gitlab merge request plugin is the same version, so therefor the issue should be related with something else.

      using GIT_SSH to set credentials
      > git -c core.askpass=true fetch --tags --progress ssh://git@*** HIDDEN **.git +refs/heads/:refs/remotes/origin/*
      > git rev-parse refs/remotes/origin/${gitlabSourceBranch}^

      {commit} # timeout=10
      > git rev-parse refs/remotes/origin/refs/remotes/origin/${gitlabSourceBranch}^{commit}

      # timeout=10
      > git rev-parse refs/remotes/origin/${gitlabSourceBranch}^

      {commit}

      # timeout=10
      ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.
      Finished: FAILURE

            Unassigned Unassigned
            pmesteves Paulo Moreira
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: