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

Missing XML Declaration in Node's config.xml

    Details

    • Similar Issues:

      Description

      $ curl http://localhost:8080/computer/%28master%29/config.xml
      <hudson>
        <disabledAdministrativeMonitors/>
        <version>1.0</version>
        <numExecutors>2</numExecutors>
        <mode>NORMAL</mode>
        <useSecurity>true</useSecurity>
        <authorizationStrategy class="hudson.security.AuthorizationStrategy$Unsecured"/>
        <securityRealm class="hudson.security.SecurityRealm$None"/>
        <projectNamingStrategy class="jenkins.model.ProjectNamingStrategy$DefaultProjectNamingStrategy"/>
        <workspaceDir>${ITEM_ROOTDIR}/workspace</workspaceDir>
        <buildsDir>${ITEM_ROOTDIR}/builds</buildsDir>
        <jdks/>
        <viewsTabBar class="hudson.views.DefaultViewsTabBar"/>
        <myViewsTabBar class="hudson.views.DefaultMyViewsTabBar"/>
        <clouds/>
        <slaves>
          <slave>
            <name>test</name>
            <description></description>
            <remoteFS></remoteFS>
            <numExecutors>1</numExecutors>
            <mode>NORMAL</mode>
            <retentionStrategy class="hudson.slaves.RetentionStrategy$Always"/>
            <launcher class="hudson.slaves.JNLPLauncher"/>
            <label></label>
            <nodeProperties/>
            <userId>anonymous</userId>
          </slave>
        </slaves>
        <scmCheckoutRetryCount>0</scmCheckoutRetryCount>
        <views>
          <hudson.model.AllView>
            <owner class="hudson" reference="../../.."/>
            <name>すべて</name>
            <filterExecutors>false</filterExecutors>
            <filterQueue>false</filterQueue>
            <properties class="hudson.model.View$PropertyList"/>
          </hudson.model.AllView>
        </views>
        <primaryView>すべて</primaryView>
        <slaveAgentPort>0</slaveAgentPort>
        <label></label>
        <nodeProperties/>
        <globalNodeProperties/>
      </hudson>
      

      This happens since https://github.com/jenkinsci/jenkins/commit/660c0f6e61b2616da93ffb82009d5e6ad9c29c23 is released.

        Attachments

          Activity

          Show
          cynipe cynipe added a comment - https://github.com/jenkinsci/jenkins/pull/715
          Show
          cynipe cynipe added a comment - https://github.com/cynipe/jenkins/commit/5711dedc11a7d742ca3daa7c79cc76c5a580a3da
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Jesse Glick
          Path:
          changelog.html
          core/src/main/java/hudson/model/Computer.java
          core/src/main/java/hudson/model/View.java
          core/src/main/java/hudson/util/XStream2.java
          core/src/test/java/hudson/util/XStream2EncodingTest.java
          http://jenkins-ci.org/commit/jenkins/b14a7a36e47934375c768d3d317403b01a6982ea
          Log:
          [FIXED JENKINS-16881] Introduced XStream2.toXMLUTF8.


          You received this message because you are subscribed to the Google Groups "Jenkins Commits" group.
          To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscribe@googlegroups.com.
          For more options, visit https://groups.google.com/groups/opt_out.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: changelog.html core/src/main/java/hudson/model/Computer.java core/src/main/java/hudson/model/View.java core/src/main/java/hudson/util/XStream2.java core/src/test/java/hudson/util/XStream2EncodingTest.java http://jenkins-ci.org/commit/jenkins/b14a7a36e47934375c768d3d317403b01a6982ea Log: [FIXED JENKINS-16881] Introduced XStream2.toXMLUTF8. – You received this message because you are subscribed to the Google Groups "Jenkins Commits" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out .
          Hide
          dogfood dogfood added a comment -

          Integrated in jenkins_main_trunk #2297
          [FIXED JENKINS-16881] Introduced XStream2.toXMLUTF8. (Revision b14a7a36e47934375c768d3d317403b01a6982ea)

          Result = SUCCESS
          Jesse Glick : b14a7a36e47934375c768d3d317403b01a6982ea
          Files :

          • core/src/main/java/hudson/model/View.java
          • changelog.html
          • core/src/main/java/hudson/util/XStream2.java
          • core/src/main/java/hudson/model/Computer.java
          • core/src/test/java/hudson/util/XStream2EncodingTest.java
          Show
          dogfood dogfood added a comment - Integrated in jenkins_main_trunk #2297 [FIXED JENKINS-16881] Introduced XStream2.toXMLUTF8. (Revision b14a7a36e47934375c768d3d317403b01a6982ea) Result = SUCCESS Jesse Glick : b14a7a36e47934375c768d3d317403b01a6982ea Files : core/src/main/java/hudson/model/View.java changelog.html core/src/main/java/hudson/util/XStream2.java core/src/main/java/hudson/model/Computer.java core/src/test/java/hudson/util/XStream2EncodingTest.java

            People

            • Assignee:
              cynipe cynipe
              Reporter:
              cynipe cynipe
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: