How do I track all Job's builds on a ticket with Jenkins

Deleted user February 19, 2024

I have connected my Jira instance with Jenkins via:

- Jenkins for Jira (Official) app

- Atlassian Software Cloud plugin (in Jenkins)

Right now I can only see the information on a ticket from the last build of a job from Jenkins, and I want to see the track of builds of the job in the same ticket.

How can I have this done?

1 answer

0 votes
Mark Rekveld - Marvelution
Atlassian Partner
February 19, 2024

Hi @[deleted] 

As far as I'm aware the official app only shows the latest build in its developer information panels. Deployments can be tracked with more history in the deployment page.

There is no way to customize this behaviour on the official app to my knowledge.

However, the Jenkins Integration for Jira app, disclaimer, I'm the developer of the app, can show the full build history of a job in relation to Jira issues.

I can show you how if you like.

Cheers,
Mark

Deleted user February 19, 2024

It would be great if I can achieve this way

Thanks!

Marisa

Paola Santos
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!
February 19, 2024

Hi @Mark Rekveld - Marvelution could you please tell us how do I can show the build history of a job?

I could manage to get the connection but I do not know where to configure it for appear in an exact ticket, I sent the build but the option of "Latest Builds" in the tickets shows no builds found

If you could clarify it would be great :)

Thank you!

 

Mark Rekveld - Marvelution
Atlassian Partner
February 20, 2024

Hi @[deleted] @Paola Santos 

My app works a little bit different compared to the official app.

You still need to install a Jira app and a Jenkins plugin, but after that my app will listen for all build and save events in Jenkins and uses configuration within Jira to determine what events are processed. For any event processed the results will be liked to Jira issues (if found) and will show in the custom issue panels.

Within the issue view, my app will first show the latest results for builds and deployments, but can show the full build/deployment history is a dialog.

Take a look at this getting started guide for the full process to get the apps integrated.

Cheers,
Mark

Paola Santos
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!
February 20, 2024

@Mark Rekveld - Marvelution 

I followed the guide and I only have the list of the builds in the "Manage Sites" section of the App in Jira, but the status of the builds do not appear.

Is it possible to configure that output into this list?

Another question would be if it is possible to have that list into the ticket, which right now is not showing this information.

Thank you.

BR,

Paola

Mark Rekveld - Marvelution
Atlassian Partner
February 20, 2024

Hi @Paola Santos 

The Manage Sites section shows all the jobs and builds that are processed by the app, only builds that are linked to issues will be shown when viewing an issue.

If you don't see builds show up in issue pages, then the app was not able to link the build to that issue.

See the Data Synchronization documentation, especially the Linking Builds to Issues section.

Cheers,
Mark

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events