-
Bug
-
Resolution: Unresolved
-
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.
- is blocking
-
JENKINS-25542 Git SHA is not translated to branch and checked accordingly (our case 12284)
- Closed