Is it possible to show Jenkins build console output in JIRA

Devendar Gangapuram
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 22, 2022

Hi Team,

 

I had tried to gather info on "How to show Jenkins build console output in JIRA" but unfortunately got no hint. Please assist me in this configuration. Provide me if you have any document link. 

 

 

Thank you in advance,

DeV G.

 

1 answer

1 accepted

0 votes
Answer accepted
Fabio Racobaldo _Herzum_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 22, 2022

Hi @Devendar Gangapuram ,

if you are on server instance, my suggestion is to try the following free app https://marketplace.atlassian.com/apps/1221134/jenkins-integration-for-jira-lite?hosting=server&tab=overview 

If you are on data center, there's an extended version of that app https://marketplace.atlassian.com/apps/1211376/jenkins-integration-for-jira?hosting=server&tab=overview

Hope this helps,

Fabio

Devendar Gangapuram
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 22, 2022

Thank you so much @Fabio Racobaldo _Herzum_ for quick reply. 

 

 

CI Builds-Error.PNGUPDATE-Requested-CI_BUILDS.PNG

 

I have tried this app but it shows "No buils found" message on JIRA , though it had been executed a relevant build job on Jenkins. 

 

Please let me know where this is messing up?

Note: I have still waiting for DC to be approved my update. Is this reason cuasing this issue?

 

 

Thank you. 

Fabio Racobaldo _Herzum_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 22, 2022

Hi @Devendar Gangapuram , 

probably you installed the wrong version using my fisrt link. Because you are on DC, you need to install a version compatible from https://marketplace.atlassian.com/apps/1211376/jenkins-integration-for-jira?hosting=datacenter&tab=versions

It should fix your issue.

Fabio

Like Devendar Gangapuram likes this
Devendar Gangapuram
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 22, 2022

Thank you again @Fabio Racobaldo _Herzum_ , but still no luck. it gives same msg : No Builds found. 

 

CI Builds-Error-2.PNGCI Builds-No Founds.PNGCI Builds-Error-2.PNGCI Builds-No Founds.PNG

Fabio Racobaldo _Herzum_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 22, 2022

@Devendar Gangapuram , you need to install plugin also on jenkins side. Please take a look at the official doc in order to install and setup app correctly.

Please, unistall Jenkins Integration for Jira Server - Lite.

Like Devendar Gangapuram likes this
Devendar Gangapuram
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 23, 2022

Hello @Fabio Racobaldo _Herzum_ ,

 

I could not find the "Jira Integration for Jenkins" plug-in , looks not available . 

JIRA for Jenkins.PNG

 

Please assist me asap. 

Fabio Racobaldo _Herzum_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 23, 2022
Like Devendar Gangapuram likes this
Devendar Gangapuram
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 23, 2022

Thank you so much once again @Fabio Racobaldo _Herzum_ , I was very useful link that you have shared me. Unfortunatley, even after configured all the things as per the document there is no luck. 

 

I have installed "Jira Integration for Jenkins" on JENKINS , but still no luck. 

JIRA integration for JENKINS.PNG

Fabio Racobaldo _Herzum_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 23, 2022

Hi @Devendar Gangapuram ,

Optional step: select the jobs to enable for synchronization

If you have NOT selected Auto enable new Jobs, you will need to select the jobs that should enabled for synchronization.

  1. From the Manage Site page in Jira click on the Site Name.

  2. Locate the jobs you want to enable for synchronization and enable them by toggling the toggle button in front of their names.

  3. Either manually trigger the synchronization of individual jobs you just enabled, or click the Refresh Jobs button to trigger a full site synchronization.

Like Devendar Gangapuram likes this
Devendar Gangapuram
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 24, 2022

Thank you once again, 

I have followed already and it was showing syn succesfull. 

triggered succesfull sync of job.PNGNo builds found.PNG

 

 

Still shows "No Builds found" on JIRA CI-Builds section. Please check once. 

Fabio Racobaldo _Herzum_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 24, 2022

Hi @Devendar Gangapuram ,

in order to have build information within a JIRA issue, you need to have a key of jira issue at build level.

Read here for further information :

Linking Builds to Issues

Jenkins builds are linked to Jira issues if a key of an existing Jira issue can be found in the job and build data that was synchronized.

The following elements are inspected to extract Jira issue keys:

  • Job display name
  • Job description
  • Job url
  • Build display name
  • Build description
  • Build trigger cause
  • Change-set commit messages
  • Git branch names

Any potential issue key located will be verified to exist, and a link between the build is issue is only created if the issue exists in Jira.

Like Devendar Gangapuram likes this
Devendar Gangapuram
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 7, 2023

Thank you @Fabio Racobaldo _Herzum_ , please close this ticket. 

Suggest an answer

Log in or Sign up to answer