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

[pipeline multibranch] Lost configuration using Single Source

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • scm-api-plugin
    • Jenkins 1.609-1.642
      SCM API 1.0
      Pipeline plugin 1.13
      git-client plugin 1.19.0-1.19.2
      git plugin 2.4.0-2.4.2

      In a multibranch job, if you configure "Single Source" as method to checkout source, after you save, if you open configuration seems like configuration's fields were lost.

      Configuring

      Review configuration

          [JENKINS-32768] [pipeline multibranch] Lost configuration using Single Source

          Ivan Fernandez Calvo created issue -
          Ivan Fernandez Calvo made changes -
          Description Original: In a multibranch job, if you configure "Single Source" as method to checkout source, after you save, if you open configuration seems like configuration's fields were lost.

          Configuring
          !SingleSourceConfig.png|thumbnail!

          Review configuration
          !SingleSourceConfig1.png|thumbnail!
          New: In a multibranch job, if you configure "Single Source" as method to checkout source, after you save, if you open configuration seems like configuration's fields were lost.

          Configuring
          !SingleSourceConfig.png!

          Review configuration
          !SingleSourceConfig1.png!
          Ivan Fernandez Calvo made changes -
          Description Original: In a multibranch job, if you configure "Single Source" as method to checkout source, after you save, if you open configuration seems like configuration's fields were lost.

          Configuring
          !SingleSourceConfig.png!

          Review configuration
          !SingleSourceConfig1.png!
          New: In a multibranch job, if you configure "Single Source" as method to checkout source, after you save, if you open configuration seems like configuration's fields were lost.

          Configuring
          !SingleSourceConfig.png|width=500!

          Review configuration
          !SingleSourceConfig1.png|width=500!
          Jesse Glick made changes -
          Labels Original: multibranch plugin workflow New: multibranch

          Jesse Glick added a comment -

          Rarely tested, since there is not much point in using this SCM source: you would need to manually configure every branch.

          The cause is obvious from code inspection: the fields have no public getters. Should be simple to fix, and demonstrate using a functional test calling configRoundTrip using a mock Builder which takes an SCMSource field.

          Jesse Glick added a comment - Rarely tested, since there is not much point in using this SCM source: you would need to manually configure every branch. The cause is obvious from code inspection: the fields have no public getters. Should be simple to fix, and demonstrate using a functional test calling configRoundTrip using a mock Builder which takes an SCMSource field.
          Jesse Glick made changes -
          Component/s New: scm-api-plugin [ 18054 ]
          Component/s Original: workflow-plugin [ 18820 ]
          Labels Original: multibranch New: multibranch workflow
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 168432 ] New: JNJira + In-Review [ 183127 ]
          Jesse Glick made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Jesse Glick made changes -
          Link New: This issue blocks JENKINS-31155 [ JENKINS-31155 ]
          Jesse Glick made changes -
          Remote Link New: This issue links to "PR 11 (Web Link)" [ 14732 ]

            jglick Jesse Glick
            ifernandezcalvo Ivan Fernandez Calvo
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: