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

not the correct branch is checked out

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Minor Minor
    • None

      This happens after pushing the "build now" button on the develop branch of a multibranch pipeline project. I believe that the use of "feature/webkit" branch name is in error here.
      That branch did exit before, but at the time of the build it was already deleted from github.
      This behaviour keeps even after pushing "Scan repository Now" on the main project.

       

       

      Started by user magwas
      Checking out git https://github.com/kode-konveyor/buildrules.git into /var/lib/jenkins/workspace/angulartest_develop@script/16b1f6e4209d4a1cb0de24b86acda31cea34bf0936bae2f9579b2a0527040b8c to read Jenkinsfile.global
      The recommended git tool is: NONE
      using credential KodeKonveyor Build
       > git rev-parse --resolve-git-dir /var/lib/jenkins/workspace/angulartest_develop@script/16b1f6e4209d4a1cb0de24b86acda31cea34bf0936bae2f9579b2a0527040b8c/.git # timeout=10
      Fetching changes from the remote Git repository
       > git config remote.origin.url https://github.com/kode-konveyor/buildrules.git # timeout=10
      Fetching upstream changes from https://github.com/kode-konveyor/buildrules.git
       > git --version # timeout=10
       > git --version # 'git version 2.34.1'
      using GIT_ASKPASS to set credentials Github App to drive builds
       > git fetch --tags --force --progress -- https://github.com/kode-konveyor/buildrules.git +refs/heads/*:refs/remotes/origin/* # timeout=10
       > git rev-parse refs/remotes/origin/feature/webkit^{commit} # timeout=10
       > git rev-parse feature/webkit^{commit} # timeout=10
       > git rev-parse feature/webkit^{commit} # timeout=10
      ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.
      ERROR: Maximum checkout retry attempts reached, aborting
      [withMaven] downstreamPipelineTriggerRunListener - Failure to introspect build steps: java.io.IOException: angulartest/develop #7 did not yet start
      [withMaven] downstreamPipelineTriggerRunListener - Failure to introspect build steps: java.io.IOException: angulartest/develop #7 did not yet start
      Finished: FAILURE

            Unassigned Unassigned
            magwas Árpád
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: