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

Source branch not checked against "Branch Specifier" ( our case 12075)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • pretested-integration-plug 2.1.1

      The Pretested Integration plugin uses 'Branch Specifier' from the Git plugin as source branch, and 'Integration branch' field in the Pretested Integration plugin as destination.

      When the integration job uses polling, the job only runs on branches that matches the "Branch Specifier", so only those are integrated.

      When job is started in another way, eg. by upstream job with at Git commit SHA passed, it may try to integrate other branches (the one the passed git commit SHA lives on).

      The Pretested Integration plugin must never try to integrate a branch that does not match the source patterin in 'Branch specifier'.

      Reproduce the problem:

      job1: poll repository, branch specifier any branch. starts job1 with paramter git commit that was build
      job2: branch specifier "origin*/ready_", integrate branch: 'master'

      If job1 sees master, job2 to tries to integrate master (but fails - master can never be integrated to master).

      If job1 sees branch 'this-branch-should-not-integrate', it triggers job2 which tries to integration 'this-branch-should-not-integrate' though it does not match 'Branch Specifier' of job2.

            praqma Praqma Support
            bue Bue Petersen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: