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

Create Node by jenkinsapi return 500

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • nodenamecolumn-plugin
    • None
    • Cent OS 6.3 x86_64

      when using jenkinsapi(python) to create node, it always return "Status Code: 500
      Exception: java.lang.NullPointerException"
      So, I tried to use REST API by typing url, for example,
      http://(baseurl)/jenkins/computer/doCreateItem?json=

      {...}

      &name=AAA
      then I found that when name variable is given, status 500 occurred;
      otherwise Jenkins shows a page to notify "name" is required.

      Any suggestion for this?
      Thanks a million

            kalpanab kalpanab
            phymach Chen-Hsien Wu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: