Jenkins REST API Create job

前端 未结 2 1442
清歌不尽
清歌不尽 2020-11-27 15:51

I\'m creating a new job in Jenkins using the REST API. I tried the below curl command lines, but they are throwing an error

curl -i -X POST --user \"admin:&l         


        
2条回答
  •  离开以前
    2020-11-27 16:25

    If you are using Postman to fire the requests, using @kenorb example above, get the crumb

    To create a folder at root level using the createItem endpoint

    To create a sub-folder inside the folder created above using the createItem endpoint

提交回复
热议问题