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

Default repository name (origin) must work with git scm and multi SCMs git (our case 12285)

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      JENKINS-24754 implemented support for Multi SCMs plugin, but still working with git, and support for using several git repositories with the normal git plugin.

      Repositories are default named `origin`, `origin1` ....

      and the pretested plugin needs configuration for integration branch (eg. `master`) and a named repository (eg. `origin`).

      Default configuration is `master` and `origin`, thus using several git repositories and forgetting to chose names should work. It will just asume it is the first repository (which the git plugin names `origin` by default).

      This is to not break all builds upon updating to next release (that is soon to be).
      The choice is also made, as it is the current situation.

        Attachments

          Activity

          Hide
          bue Bue Petersen added a comment - - edited

          Better explained:

          • The plugin should use origin as default remote.

          Problem: If the plugin currently has no default value.

          Show
          bue Bue Petersen added a comment - - edited Better explained: The plugin should use origin as default remote. Problem: If the plugin currently has no default value.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Mads Nielsen
          Path:
          src/main/java/org/jenkinsci/plugins/pretestedintegration/scm/git/GitBridge.java
          src/test/java/org/jenkinsci/plugins/pretestedintegration/integration/scm/git/GeneralBehaviourIT.java
          src/test/java/org/jenkinsci/plugins/pretestedintegration/integration/scm/git/JENKINS_24754_IT.java
          http://jenkins-ci.org/commit/pretested-integration-plugin/475dfea4b78097a9f66f89f769122fcf195ce5bc
          Log:
          Fixed JENKINS-25544

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Mads Nielsen Path: src/main/java/org/jenkinsci/plugins/pretestedintegration/scm/git/GitBridge.java src/test/java/org/jenkinsci/plugins/pretestedintegration/integration/scm/git/GeneralBehaviourIT.java src/test/java/org/jenkinsci/plugins/pretestedintegration/integration/scm/git/JENKINS_24754_IT.java http://jenkins-ci.org/commit/pretested-integration-plugin/475dfea4b78097a9f66f89f769122fcf195ce5bc Log: Fixed JENKINS-25544
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Bue Petersen
          Path:
          src/test/java/org/jenkinsci/plugins/pretestedintegration/integration/scm/git/JENKINS_24754_IT.java
          http://jenkins-ci.org/commit/pretested-integration-plugin/1d0e65019bce2cd9cbd95e1fd8a1f072b789e742
          Log:
          JENKINS-25544: Added test for using default names in git scm and the other repository in pretest

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Bue Petersen Path: src/test/java/org/jenkinsci/plugins/pretestedintegration/integration/scm/git/JENKINS_24754_IT.java http://jenkins-ci.org/commit/pretested-integration-plugin/1d0e65019bce2cd9cbd95e1fd8a1f072b789e742 Log: JENKINS-25544 : Added test for using default names in git scm and the other repository in pretest

            People

            • Assignee:
              bue Bue Petersen
              Reporter:
              bue Bue Petersen
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: