Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to update table in Confluence page from Jenkins?

Lucas Hernandez
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 6, 2022

I have a table in Confluence page which holds information from Jenkins job. As of now I update it manually. But I want to automate this by updating the table from Jenkins job. 

On every Jenkins job run, new version gets created. I want that version to be reflected in Confluence table.

How can we do that?

1 answer

1 vote
Aron Gombas _Midori_
Community Champion
October 7, 2022

There are Jenkins app(s) for Confluence like this one. Check these first.

If there is no app that matches your requirements, then I assume that Jenkins makes it possible to get the versions from the Jenkins REST API. If so, then there are Confluence apps that offer macros which can make that call as part of the Confluence page. So, call the Jenkins REST API, then produce a nicely-formatted table from the response JSON. Should work.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events