You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the following sniper to create new folders. It fails with 400 response.
jenkins.create_folder(folderName,function(err,data){if(err){console.log(err)throwerr;}else{console.log(" [+] created folder: "+folderName);}});
Response:
No Content-Type header set
Page generated: Feb 2, 2019 7:06:01 AM UTCREST APIJenkins ver. 2.162
1
You have not configured the CSRF issuer. This could be a security issue. For more information, please refer to this page.
You can change the current configuration using the Security section CSRF Protection.
Not sure if this is my jenkins setup but curl execution from #55 works well
Hi team,
Using the following sniper to create new folders. It fails with 400 response.
Response:
Not sure if this is my jenkins setup but
curl
execution from #55 works wellIt feels that we need to add
headers
while makingdoRequest
calls. The following fix works well, creates folders.That said, a few quetions regarding
create_folder
methods:jenkins.get_config_xml()
returning non-404 is ok?The text was updated successfully, but these errors were encountered: