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

SCM Sync Configuration does not include many config files.

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      The documentation claims that, in version 0.0.5, JENKINS_HOME/*.xml will be synced. However, in JenkinsConfigScmSyncStrategy.java the pattern is:

          private static final String[] PATTERNS = new String[]{
              "config.xml",
              "hudson*.xml",
              "scm-sync-configuration.xml"
          };
      

      This excludes the configuration files for many plugins which are not prefixed by 'hudson'.

        Attachments

          Activity

          Hide
          fcamblor Frédéric Camblor added a comment -

          We cannot predict the format every plugin will have.

          Upcoming feature allowing to provide user-defined patterns (see JENKINS-8225) should fix your issue.

          Show
          fcamblor Frédéric Camblor added a comment - We cannot predict the format every plugin will have. Upcoming feature allowing to provide user-defined patterns (see JENKINS-8225 ) should fix your issue.
          Hide
          kscaldef Kevin Scaldeferri added a comment -

          That's fine, but the documentation disagrees with the code. You need to fix one or the other, so you aren't misleading users of the plugin.

          Show
          kscaldef Kevin Scaldeferri added a comment - That's fine, but the documentation disagrees with the code. You need to fix one or the other, so you aren't misleading users of the plugin.
          Hide
          fcamblor Frédéric Camblor added a comment -

          Done !

          Don't hesitate to edit the wiki by yourself (or discuss about it in the comments) if you find errors in it

          Show
          fcamblor Frédéric Camblor added a comment - Done ! Don't hesitate to edit the wiki by yourself (or discuss about it in the comments) if you find errors in it

            People

            • Assignee:
              fcamblor Frédéric Camblor
              Reporter:
              kscaldef Kevin Scaldeferri
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: