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

Ignore SCM metadata while loading job configurations

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: other
    • Labels:
      None
    • Environment:
      Platform: All, OS: All
    • Similar Issues:

      Description

      It would be nice if Hudson ignores SCM metadata (like Subversion's ".svn"
      folders) while initializing it's internal model.

      The following is an example for jobs being managed via Subversion:

      Jun 20, 2008 6:09:00 PM hudson.model.Hudson load
      WARNING: Failed to load /data/cibuild/hudson/jobs/.svn
      java.io.FileNotFoundException: /data/cibuild/hudson/jobs/.svn/config.xml (No
      such file or directory)
      at java.io.FileInputStream.open(Native Method)
      at java.io.FileInputStream.<init>(FileInputStream.java:106)
      at hudson.XmlFile.read(XmlFile.java:101)
      at hudson.model.Items.load(Items.java:80)
      at hudson.model.Hudson.load(Hudson.java:1324)
      at hudson.model.Hudson.<init>(Hudson.java:365)
      at hudson.WebAppMain$2.run(WebAppMain.java:156)
      Jun 20, 2008 6:09:02 PM
      org.springframework.context.support.AbstractApplicationContext prepareRefresh

      Cheers,
      Torsten

        Attachments

          Activity

          Hide
          drulli Ulli Hafner added a comment -

          Wrong component.

          Show
          drulli Ulli Hafner added a comment - Wrong component.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in hudson
          User: : kohsuke
          Path:
          trunk/hudson/main/core/src/main/java/hudson/model/Hudson.java
          trunk/www/changelog.html
          http://fisheye4.cenqua.com/changelog/hudson/?cs=10302
          Log:
          [FIXED JENKINS-1901] Ignore directories that don't have config.xml in it.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : kohsuke Path: trunk/hudson/main/core/src/main/java/hudson/model/Hudson.java trunk/www/changelog.html http://fisheye4.cenqua.com/changelog/hudson/?cs=10302 Log: [FIXED JENKINS-1901] Ignore directories that don't have config.xml in it.

            People

            Assignee:
            kohsuke Kohsuke Kawaguchi
            Reporter:
            tjuerge tjuerge
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: