API AUTOMATION | How to get the job result in Jenkins by using the API | Jenkins API | jq command

preview_player
Показать описание
#HAHTech #DevOps #Jenkins #API #Automation
Hi, in this video we will see how to get the status from a job in Jenkins, by using an API endpoint.
For doing this we will use the cURL command and the API token.

curl -X GET -u user:api_token endpoint | jq .result

If the content is helpful and you like it you may want to conside to support me to continue making quality content in your language :)
Donate here!:

Subscribe and share please!

#DevOps
#Automation
#JobStatus
#APIToken
#curl
Рекомендации по теме
Комментарии
Автор

Hi @HAH - Tech, My project(Windows Msbuild) uses Fortify API and returns JSON format output, how can I Fail my jenkins job after getting result from API?
Pls guide me on this

pradeepkumarvenkata
Автор

Thanks for the video .Is there any way we can fetch all the builds for the last month and also segregate based on build status.

madhumanohar
Автор

Great Sir how to get last build for multibranch, having multiple branches

manojchander
Автор

can i get status of current build or only old ones

youssefboudaya
join shbcf.ru