Jenkins Workflow API - Stage Status

What information can we request in a workflow job? Anything related to the specific status of the assembly phase (successful, unsuccessful, not yet achieved, interrupted, etc.)? I see that we can interact with the step inputusing this method , but where can we find what metadata, if anything, can we get about our builds?

+4
source share
1 answer

The export REST API for assembly ( …/job/…/…/api/json?tree=…) is not yet very extensive. You can get some information about the nodes in the flow graph (steps and some related block nodes are the material that you see in the steps of the workflow). Some information about the steps can be extracted from this, although not easily. Much more available from the Java API.

0
source

Source: https://habr.com/ru/post/1607890/


All Articles