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

Sanitise description string as it may contains troublesome chars

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • swarm-plugin
    • None

      jenkins swarm client can setup node description which is reported by Jenkins as unsafe.
      This is done with option -description <string> which passes this as node name seen in Jenkins node list.

      One example is jenkins-swarm.jar -description "swarm_ip:127.0.0.1" --the : colon char will cause Jenkins to rise error anytime when swarm node configuration is being saved (this leads to no save action). There may be other outcomes with non valid node descriptions.

            Unassigned Unassigned
            omka Paul Walter
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: