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

Bitbucket branch source plugin fails to notify checkout of an hg repository when using pipeline library from a git repo

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • jenkins 2.45
      Bitbucket Branch Source Plugin : 2.0.2

      This looks like JENKINS-41214, but in a different environment.

      I have configured bitbucket branch source plugin with a hg repository.
      Then I have configured the job to add a Jenkinsfile library, stored in a git repository.

      When building the job, I got an error "Changeset not found". It looks like the changeset is seeked in the bad repository.

      My workaround was to disable the "sendNotifications" call of the onCheckout handler. (see attached diff)

      Two "onCheckout" calls are triggered : one for my hg repo, and another one for the git library of my jenkinsfile lib.

            amuniz Antonio Muñiz
            jgraglia Julien Graglia
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: