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

CIFS Plugin only seems to persist one share

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Component/s: cifs-plugin
    • Labels:
      None
    • Environment:
      jenkins.war in jetty on linux, targeting xpsp3

      Jenkins 1.396 and the latest CIFS (1.1.10)

      Description

      I can create and access 1 share (and have for some time) without problems, but when I tried to add a second share, it didn't seem to be persisted.

      I tried adding a <com.slide.hudson.plugins.CIFSShare /> block to the file by hand and restarting Jenkins with no luck.

      If I edit that file by hand, only changing the first declared com.slide.hudson.plugins.CIFSShare, it works as expected.

        Activity

        Hide
        slide_o_mix Alex Earl added a comment -

        What version of the plugin are you using? I don't see if in the affected versions field.

        Show
        slide_o_mix Alex Earl added a comment - What version of the plugin are you using? I don't see if in the affected versions field.
        Hide
        mwalling Mark Walling added a comment -

        Jenkins 1.396 and the latest CIFS (1.1.10)

        Show
        mwalling Mark Walling added a comment - Jenkins 1.396 and the latest CIFS (1.1.10)
        Hide
        mwalling Mark Walling added a comment -

        I can reproduce from a git checkout and hpi:run.

        Only been into a plugin once before, I'll see if I can dig up a test case or something.

        Show
        mwalling Mark Walling added a comment - I can reproduce from a git checkout and hpi:run. Only been into a plugin once before, I'll see if I can dig up a test case or something.
        Hide
        slide_o_mix Alex Earl added a comment -

        Changed CIFSShare to have a DataBoundConstructor and then in the configure method of the Descriptor, used bindJSONToList to save off the shares.

        Show
        slide_o_mix Alex Earl added a comment - Changed CIFSShare to have a DataBoundConstructor and then in the configure method of the Descriptor, used bindJSONToList to save off the shares.

          People

          • Assignee:
            slide_o_mix Alex Earl
            Reporter:
            mwalling Mark Walling
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: