I used Atlassian Jira Software Cloud (plugin on Jenkins) to connect the webhook from Jenkins for Jira (app on Jira). The connection via webhook is established. Now I encountered the issue "don't know the outcome of sending the build/deployment data to Jira". Currently, I just want to test without GitHub.
Although the "Jenkins server management" tab shows that the pipeline status is successful build. But nothing changes in my issue whose issueKey was initialized in the "branch" parameter of Post-build Actions step. (I used the Freestyle Job type).
Moreover, I could not find the Jenkins for Jira in a specific project. I just can see it in the App tab which displays with the admin role on Jira. I can not find this app in Development Tools either.
So:
- Where is the result I could check?
- What exact information will be sent to my issue on Jira?
- How to associate this app with Development Tools in my specific project?
There are two things to know for the official integration.
- Where is the result I could check?
You can check your build console log and Jenkins logs to see iff the integration is working. (I'm not completely sure if the Jira app has a log/event history that you can check.
- What exact information will be sent to my issue on Jira?
This typically only includes job names, descriptions and generic build information like execution time, duration, test results, references to commits of issues.
- How to associate this app with Development Tools in my specific project?
The Jenkins app is not listed under Development Tools, this section is more for SCM tools like Bitbucket and Github.
Typically you don't associate the Jenkins app with a project, but instead associate builds to work items (issues) this way results become available in the Development Status panels in Jira.
Upfront disclaimer, I'm the maintainer of the Jenkins for Jira, the original, app.
The Jenkins for Jira app does support freestyle jobs, and any other job type, and also has more locations where it searches for work item/issue keys.
More then happy to just on a call to discuss options for you but with the official and my app.
Thank you for your response.
According to your information, the Jenkins for Jira app might not meet our expectations. However, the information that Jenkins will receive from Jira is ok (question 2 above).
This information—job names, descriptions, and generic build information like execution time, duration, test results, and references to commits of issues—will appear in the issues. Do I need to add new fields for this information? Or it will present itself?
"Typically you don't associate the Jenkins app with a project, but instead associate builds to work items (issues) this way results become available in the Development Status panels in Jira." - You said. The "Deployment status" is Project > Operation > Deployment in the project settings, right?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Do I need to add new fields for this information? Or it will present itself?
You don't need to create custom fields for this. Build data is stored outside of issue fields.
You said. The "Deployment status" is Project > Operation > Deployment in the project settings, right?
No, I mean the Development Status panels when you view an issue. See these docs from Atlassian, https://support.atlassian.com/jira-software-cloud/docs/view-development-information-for-an-issue/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mark, I suppose that I need to ask you more about how to use this tool for my specific scenario. May I make a call with you?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sure thing, we can schedule a call, go to marv.li/demo
Looking forward to discussing your specific needs.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have scheduled a call.
Moreover, I'm trying to specify a "deployment stage" in my freestyle job on Jenkins.
I could send the build information (by action "Send build information to Jira" at Post-build step) like the picture below.
But I can not find the corresponding action for sending deployment information (something that looks like "Send deployment information to Jira").
Is there any way that I can send deployment information?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm not sure where that action comes form, but it is not from my app.
My app doesn't use post build actions to send build/deployment information to Jira, instead it uses a generic event listener for all builds, and it uses a Deployment Build Marker to mark a build as a deployment to populate the deployment information in Jira.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.