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

Label xml parsing on Orchestrator ignores comments

XMLWordPrintable

      Xml parsing of label on Orchestrator ignores comments and uses the first occurrence as its LabelSet.

      Example:

      <com.redhat.jenkins.nodesharingfrontend.SharedNode>
      .
      .
          <!-- <label>a b c d</label> -->
          <label>e f g</label>
      </com.redhat.jenkins.nodesharingfrontend.SharedNode>
      

      The result is LabelSet of "a b c d" instead of "e f g".

            pajasoft Pavel Janoušek
            pajasoft Pavel Janoušek
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: