Skip to main content

Creating node with the REST API

Comments

4 comments

  • Owen.liu Please Update

    Is there a way to delete a slave via remote API?

    2
  • Marco Valente

    This did not work for me in the scenario of passing a file. Please note that to pass a file as a parameter I had to not specify the content-type and pass

    -F json=@/etc/jenkins/jnlp-init.json

    For example

    0
  • Anoop Vijayan

    Aug. 28,2019:

    This just does not work. I have spent couple of hours on this and get a NullPointerException. I am giving up here :(

    Sept. 23,2020:

    Sorry I was using the url without quotes. The exception details could have been better. Nevertheless, it works now !

    0
  • Joe Franklin

    This guy has scripted it and it works well for me:

    https://gist.github.com/Evildethow/be4614ba27882d8f4627a972a624d525

     

    0

Please sign in to leave a comment.

About CloudBees Support

Our Support Engineers are available to help with any questions or problems you may have with any of our products.