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

Source Code Management for build job is forgotten on save

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • core
    • Jenkins 2.225

       Source Code Management for build, seems to be forgotten when saving or applying and then leaving page. All other changes on page seem to be correctly stored, but when reloading page SCM is reset to None. This error is not git specific, and also is present for mercurial.

      Issue is present on v.2.224 but not on v.2.223.
      Fixed issue by rolling back to previous version.

        1. screenshot-2.png
          screenshot-2.png
          122 kB
        2. this.png
          this.png
          66 kB
        3. screenshot-1.png
          screenshot-1.png
          231 kB
        4. after load.PNG
          after load.PNG
          6 kB
        5. SourceCodeManagement.png
          SourceCodeManagement.png
          34 kB

          [JENKINS-61398] Source Code Management for build job is forgotten on save

          Martin Breistein created issue -
          Martin Breistein made changes -
          Attachment New: after load.PNG [ 50616 ]
          Mark Waite made changes -
          Component/s Original: git-plugin [ 15543 ]
          Component/s Original: mercurial-plugin [ 15502 ]
          Mark Waite made changes -
          Priority Original: Minor [ 4 ] New: Blocker [ 1 ]
          Mark Waite made changes -
          Assignee Original: Mark Waite [ markewaite ] New: Tim Jacomb [ timja ]
          Daniel Beck made changes -
          Labels Original: Git-plugin SCM New: Git-plugin SCM regression
          Mark Waite made changes -
          Assignee Original: Tim Jacomb [ timja ] New: Mark Waite [ markewaite ]

          Oleg Nenashev added a comment -

          JENKINS-51495 is suspected to be the root cause, because it modifies descriptorRadioList  being used in SCM configuration sections

          Oleg Nenashev added a comment - JENKINS-51495 is suspected to be the root cause, because it modifies descriptorRadioList  being used in SCM configuration sections
          Oleg Nenashev made changes -
          Link New: This issue is caused by JENKINS-51495 [ JENKINS-51495 ]

          Mark Waite added a comment -

          Thanks oleg_nenashev. I've confirmed that I can duplicate the problem with the tip of the master branch and it is no longer visible if I revert the JENKINS-51495 change. Should I submit a pull request to revert the change or would you prefer to approach it differently?

          Mark Waite added a comment - Thanks oleg_nenashev . I've confirmed that I can duplicate the problem with the tip of the master branch and it is no longer visible if I revert the JENKINS-51495 change . Should I submit a pull request to revert the change or would you prefer to approach it differently?

            markewaite Mark Waite
            martin_breistein Martin Breistein
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: