Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
2.2.0-snapshop
Description
The following image describe how *several git configuration sections* in the Multi SCMs plugin are not supported: https://github.com/Praqma/pretested-integration-plugin/blob/9a68e17c11d579aa9eacc7502acd077cf0fde8d9/docs/Illegal_JENKINS24754.png
We need support for this, and this is the needed configuration to make each git repository checkout into it own sub-directory.
That is not possible using several git repos pr. configuration as we currently - only - support: https://github.com/Praqma/pretested-integration-plugin/blob/9a68e17c11d579aa9eacc7502acd077cf0fde8d9/docs/legal_JENKINS24754.png
Implementation details:
- from the git plugin, several git build object will be parsed to the pretested plugin - see https://github.com/Praqma/pretested-integration-plugin/blob/9a68e17c11d579aa9eacc7502acd077cf0fde8d9/docs/More_than_1_gitBuild_data.png
- we will check the list...
- if they have the same name, we will fail with an description
- if the are named differently, we will do the usual checks (branch name, pattern, sha, branch head ...)
Code changed in jenkins
User: Mads Nielsen
Path:
resources/HelloWorldBuilder - jelly example/config.jelly
resources/HelloWorldBuilder - jelly example/global.jelly
resources/HelloWorldBuilder - jelly example/help-name.html
resources/HelloWorldBuilder - jelly example/help-pretestCommits.html
resources/HelloWorldBuilder - jelly example/help-selectBox.html
resources/HelloWorldBuilder.java
resources/hg_change_group_hook.py
resources/hg_change_group_hook_with_parameters.py
resources/hgrc
src/main/java/org/jenkinsci/plugins/pretestedintegration/exceptions/UnsupportedConfigurationException.java
src/main/java/org/jenkinsci/plugins/pretestedintegration/scm/git/GitBridge.java
src/test/java/org/jenkinsci/plugins/pretestedintegration/integration/scm/git/BuildResultValidator.java
src/test/java/org/jenkinsci/plugins/pretestedintegration/integration/scm/git/JENKINS_25546_IT.java
src/test/java/org/jenkinsci/plugins/pretestedintegration/integration/scm/git/TestUtilsFactory.java
src/test/java/org/jenkinsci/plugins/pretestedintegration/integration/scm/git/UniqueBranchGenerator.java
http://jenkins-ci.org/commit/pretested-integration-plugin/e1100236a209cea4566c1d503c6451c7b794ca52
Log:
Fixed
JENKINS-25546