Jenkins Integration with Jira issue - jenkins

I have installed Jenkins Plugin for JIRA on my JIRA installation and also JIRA Plugin for Jenkins on to my Jenkins installation. I have added an application link in JIRA settings.
I am facing below issue:
1) On Application Links page there is a warning that my Jenkins Application "seems to be offline". While Adding a jenkins link it gives me error : The host doesn't respond. Change the url or click next to confirm.
Jira Version - 6.0.5
Jenkins Version - 1.562
Jenkins-Jira Plugin Version - 1.4.3
Thanks to anybody who's willing to help me out on this.

You can follow four steps:
Install JIRA Plugin in Jenkins
In Jenkins:
Manage Jenkins > manager plugins > available
search and choose Jenkins JIRA plugin , Jenkins JiraTestResultReporter plugin and Jenkins JIRA Issue Updater
Install Jenkins Plugin in JIRA.
https://marketplace.atlassian.com/plugins/com.marvelution.jira.plugins.jenkins
see: Installation section.
Add Jenkins 's Application Links in JIRA
The integration between JIRA and Jenkins has Application Links as its base. This allows administrators to configure and manage the Jenkins
To get started, go to [JIRA_BASEURL]/plugins/servlet/applinks/listApplicationLinks and click on the Add Application Link button to add a new Application Link for Jenkins.
or administration > plugin > Application Link > add Application Link; do as instruction
note: Optionally, but required if Jenkins is secured,
configure Outgoing Authentication that JIRA should use.
To do this, click on the Edit link next to the Jenkins Application Link, and select OutGoing Authentication tab
Provide the Username of the user to use to authenticate against Jenkins with
Provide the Password of the use
Jenkins Configuration
After the installation of the Jenkins Plugin for JIRA, and the configuration of at-least one Application Link, administrators will be able to control which Jobs are included in the synchronisation process and which aren't.
in Administration > plugins (add-ons) >Jenkins Configuration
Download JIRA plugin for Jenkins and install this plugin in Jenkins
way 1: copy it to Jenkins's plugin folder. and restart Jenkins
way2: Manage Jenkins > manager plugins > advanced > Upload Plugin . Choose file and upload then restart Jenkins
Enable Jenkins job in JIRA
then just use a known JIRA Issue Key in a commit message of your source code repo
Jenkins will make all the change sets (commits) available to the JIRA plugin when syncing a build.
The sync process uses the change sets to look for JIRA Issue Keys. Once this process locates a link, then that build will be available in the CI Build Panels.
download jenkins-jira-plugin at http://mvnrepository.com/artifact/com.marvelution.jira.plugins/jenkins-jira-plugin

Related

adding remote hosts to jenkins programming

In Jenkins there is a general SSH Plugin. that I plan to use now that The "Publish over SSH" is the old plugin and is deprecated."
How would I go about adding hundreds of remote hosts to a new Jenkins I am building using this plugin without manually adding the list of servers to jenkins
https://plugins.jenkins.io/ssh/

Configure JIRA Trigger Plugin for Jenkins multi branch pipeline

I have Jenkins Mutibranch pipeline. I want to integrate my Jira with one of multibranch project. I have installed the JIRA Trigger Plugin and configured Webhook in Jira. however, when I checked in my Jenkins job it does not show me the B***uild when an issue is updated in JIRA*** but it shows when I go to View Configuration in the particular branch. it allows me to select the Build when an issue is updated in JIRA but there is no option to save the changes. I know this might be a reason the option is view only. but how can I configure this?
Is anyone configured JIRA Trigger Plugin with Jenkins mutibranch project where using Jenkinsfile? and what is the correct way of integrating this?
Should I do some coding in the Jenkins file to get this done?

Jenkins integration for JIRA

I am looking for a documentation around Integrating JIRA with Jenkins. All I am trying to do is display the Jenkins build status in a dashboard in JIRA. I have installed Jenkins Plugin for JIRA and JIRA Plugin for Jenkins and went through the Atlassian marvelution documentation but it is not clear how to configure the Jobs.
It will be nice if I could get some instructions around integrating the Jobs to JIRA and how to configure the jobs to show up in JIRA dashboard/ Activity page for a JIRA Issue
The first step is try to configure JIRA and JENKINS server each working individually.
And then install the following Plugins in JENKINS and JIRA Separately
1) Jira Issue Updater:- This plugin can update Jira issues by changing their workflow status and adding comments. 1.11
2) JIRA plugin:- This plugin integrates Jenkins to Atlassian JIRA. 1.39
3) JIRA Plugin for Jenkins:- This plugin implements the Application Link API to support integration with Atlassian JIRA 1.5.3
4) JiraTestResultReporter plugin:- This plugin creates issues in Jira for failed unit tests.
Following add-on in JIRA server:-
1) JIRA Plugin to integrate Jenkins CI Version: 1.5.3 Vendor: Marvelution Add-on key: com.marvelution.jira.plugins.jenkins
2) JIRA Plugin to integrate Hudson CI Version: 5.0.4 Vendor: Marvelution Add-on key: com.marvelution.jira.plugins.hudson
After installing the above plugins in Jenkins go to Global configuration under Manage Jenkins and add JIRA site name.
Similarly go to JIRA Administration, Hudson/Jenkins, Servers, Add Server, configure there your Jenkins server.

what are the steps to integrate JIRA and Jenkins?

I want to integrate JIRA with Jenkins so as to update tickets automatically when a job is build successfully or failed.
I have established JIRA and Jenkins server separately both working properly.I have the following JIRA plugins in Jenkins installed:-
1) Jira Issue Updater
This plugin can update Jira issues by changing their workflow status and adding comments.
1.11
2) JIRA plugin
This plugin integrates Jenkins to Atlassian JIRA.
1.39
3) JIRA Plugin for Jenkins
This plugin implements the Application Link API to support integration with Atlassian JIRA
1.5.3
4) JiraTestResultReporter plugin
This plugin creates issues in Jira for failed unit tests.
Following add-on in JIRA server:-
1) JIRA Plugin to integrate Jenkins CI
Version: 1.5.3
Vendor: Marvelution
Add-on key: com.marvelution.jira.plugins.jenkins
2) JIRA Plugin to integrate Hudson CI
Version: 5.0.4
Vendor: Marvelution
Add-on key: com.marvelution.jira.plugins.hudson
I want to build a job in Jenkins and wants the issue to be generated automatically in JIRA if the build Passes/Fails.
Please let me know if you need more information.
Try with this plugin..it may helps you to get what you need..

From where I can download Jenkins build-pipeline-plugin?

I am trying to find location from where I can download the latest release of Jenkins build
pipeline plugin https://wiki.jenkins-ci.org/display/JENKINS/Build+Pipeline+Plugin but am
unable to do so. I checkout out the code and build it on my system but when I installed the
plugin it does not show me the view option for build pipeline. It would be helpful if you can
help me find the location of plugin?
Check out the download server of Jenkins. There you will find all the downloads available for both Jenkins releases as well as plugins:
http://mirrors.jenkins-ci.org/plugins/build-pipeline-plugin/latest/

Resources