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

Failed to create Jenkins node using the API passing XML node config

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • core
    • None

      I created a Python script which uses jenkinsapi library. (https://github.com/pycontribs/jenkinsapi)

      Using this script I am able to create Jenkins node on the Jenkins master by uploading the XML node configuration. However, this script stopped working correctly starting with Jenkins version 2.266. The last working versions is 2.265.

      More precisely, the node gets created but the "Node properties" section is not populated.

      For troubleshooting purpose I created a node manually and compare its XML with the XML I was trying to upload and it was identical. So I expected uploading this XML to work through the API, but it doesn't work starting with versions 2.266.

      If you'd like I can send you the script that I use for creating the node using XML node config.

      Thank you!

       

            Unassigned Unassigned
            maneamarius Marius
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: