jenkinsci / java-client-api

A Jenkins API client for Java
MIT License
901 stars 470 forks source link

How to get build percentage #310

Open Shekharrajak opened 6 years ago

Shekharrajak commented 6 years ago

Hello,

I can get the job running and build status. How can I get the percentage of the build ?

Shekharrajak commented 6 years ago

Ping @khmarbaise

khmarbaise commented 6 years ago

Can you explain what you mean by percentage of the build?

chimisu commented 6 years ago

@Shekharrajak you can take a look at Pipeline API

Shekharrajak commented 6 years ago

@khmarbaise ;We are able to get the console log at run time. Similarly I want to get the percentage it has finished.

@doterme ; can you please share the link?

chimisu commented 6 years ago

@Shekharrajak https://github.com/jenkinsci/pipeline-stage-view-plugin,you can invoke getConsoleOutputText in a timer,or invoke pipeline rest api

chimisu commented 6 years ago

@Shekharrajak image