Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Fixed
-
None
Description
_Initial job configuration_
- Four repositories in MultiScm configuration - one svn, three git
- Two git repositories in one MultiScm SCM configurations:
- *repo1*, named so it becomes default named `repo1`
- *repo2*, named so it becomes default named `repo2`
- branch specifier `*ready/*`
- Checkout to sub-directory: repo1s
- Prune stale remote-tracking branches
- Wipe out repository & force clone
- One git repository in one MultiScm SCM configurations:
- *repo3*, named: `repo3`
- branch specifier `*ready/*`
- Checkout to sub-directory: repo3
- Prune stale remote-tracking branches
- Wipe out repository & force clone
- One SVN repository in one MultiScm SCM configuration:
- svn-repo checkout path
- pretested integration configuration:
- `master`
- `repo3`
- Accummulated strategy
_Observations_
- Pushing a ready branch to `repo3`, but there is nothing to do reported with error `Nothing to do the reason is: The branch name (repo3/ready/dev_865487921) used by git, did not match a remote branch name. You might already have integrated the branch`
The problem is in the findSCM method, that just always return the first found SCM.
Code changed in jenkins
User: Bue Petersen
Path:
src/test/java/org/jenkinsci/plugins/pretestedintegration/integration/scm/git/TestUtilsFactory.java
http://jenkins-ci.org/commit/pretested-integration-plugin/e7412ff87bc550a4603c6a5b0f3569af731f905e
Log:
JENKINS-25960: Not directly releated to issue: