Rest API in Jenkins to get the Pipeline (stages) information
问题 I'm exploring the options to get the pipeline (stages) information in Jenkins through Rest API. We had a pipeline plug-in installed on Jenkins. Any help on same is highly appreciated. 回答1: You can use this endpoint to get the pipeline runs: https://github.com/jenkinsci/pipeline-stage-view-plugin/tree/master/rest-api#get-jobjob-namewfapiruns Each run blob should contain the corresponding stages, so you can extract the stages of the latest run. 来源: https://stackoverflow.com/questions/50594486