Resolving Jira Comments in Jenkins - jenkins

We are using JIRA 7, and our Jenkins version is 1.647. Our scm is SVN, and we want to resolve labels, and mail it to concerned teams.
Lets say a developer updated svn cmnt with EARN-34, our plugins should resolve as jira.xyz.com, and mail it to concerned team.
I have installed JIRA plugin, and configured the url and password. I have used the pattern '(EARN-[0-9]+)' in JIRA lugin, and JIRA ext plugins. The same thing I have configured in jira ext plugins:url ,and pattern. Is there anything else I need to add.

Related

Team Foundation Server plugin is not available in Jenkins

The Team Foundation Server plugin is not available in Jenkins. The Jenkins official page shows the message:
Distribution of this plugin has been suspended due to unresolved security vulnerabilities
Is there any alternative to this plugin using which I can integrate Team Foundation Server with Jenkins?
MS have effectively abandoned support for TFVC and for the plugin.
You can still grab the plugin from the GitHub TFS plugin releases page and upload manually. ({JENKINS_URL}/pluginManager/advanced ). You may have to reconcile any dependencies manually.
MS recommended alternative is the tf command line from a shell step (brutal), which they also silently abandoned support for TFS SDK/CLI.
ps: aside from the vulnerability ( SECURITY-1506 / CVE-2020-2249 ), it does not meet the OSI open source license requirements - INFRA-2751 to be made available via the plugins site.
2021-03-30: It appears the OSI licensing issue has been resolved. This Jenkins Community post suggests a fix to SECURITY-1506 / CVE-2020-2249 is available in a fork but additional security issues ( SECURITY-2283 / CVE-2021-21636, CVE-2021-21637 (permission check), CVE-2021-21638 (CSRF) ) are outstanding, need to be resolved and released, or someone steps up to adopt the plugin.
pss: M$ also announced (23 February, 2021) retirement for Azure plugins for Jenkins, effective February 29, 2024.

Has the TFS plugin for Jenkins been removed?

I have been using Jenkins with the TFS plugin for several years but after installing Jenkins on a new machine, it seems that the TFS plugin cannot be found in the update center. All the other plugins that I could search for seem to work but not TFS, as if it had been deleted from there. I have tried using both jenkins-lts and jenkins weekly on two separate machines (both macs).
This is the plugin I am talking about: https://github.com/jenkinsci/tfs-plugin
The old wiki page for it also seems to have been removed (I get a HTTP 403 Forbidden reply when trying to access that): http://wiki.jenkins-ci.org/display/JENKINS/Team+Foundation+Server+Plugin and the newer plugin index doesn't seem to know about this plugin: https://plugins.jenkins.io/
I have tried to look on the Jira issue tracker but couldn't find anything that seemed relevant.
Could anyone assist?
Okay so after struggling with this for a while, I figured out what had happened.
There was a security issue for the TFS plugin that hasn't been fixed: https://www.jenkins.io/security/advisory/2020-09-01/#SECURITY-1506
On top of that, it was found that the TFS SDK that is bundled with the plugin is not open source, which goes against Jenkins policy (see INFRA-2751 for more details).
This means that the plugin has been removed from the update center in this commit at the end of October 2020.
If the security issue is acceptable, the plugin can still be installed by downloading the .hpi from Github and then manually install the plugin in Jenkins: Manage Jenkins > Manage Plugins > Advanced > Upload Plugin and select the plugin file downloaded previously (Make sure to have git-plugin installed normally first so all additional dependencies are in place).
Thanks to the people on Jenkins Gitter that reminded me of the security issue as well as #ian-w on here that pointed at the actual problem.
Edit: I edited my answer to include Ian's comment.
2021-08-31: See additional details in this S/O response.

There is no AWS Codedeploy Plugin in Jenkins

I use two different Jenkins servers(tomcat jenkins) and i was trying to install a plugin for aws codedeploy.
However, I couldn't find it in the list of a Jenkins but another one has it.
Why the plugin libraries are different? even though i install them in a same way.
Also, How can i add a particular plugin in my Jenkins server?
Thank you.
Why the plugin libraries are different?
The plugin libraries shouldn't be different.
Which way did you search the plugin (jenkins gui, in the web)? Both your servers are on the same Jenkins version?
Also, How can i add a particular plugin in my Jenkins server?
I do it always via the GUI as described here: https://jenkins.io/doc/book/managing/plugins/

Can we configure two maven versions on jenkins

We have two projects each using different maven and Java versions.
Currently one of these projects is already configured on Jenkins. we need to configure the other project on Jenkins as well.
Is it possible to add one more version of maven to Jenkins?
While configuring the project will it display the list of maven versions, from which I can select the required one?
Please note that I don't have admin rights and currently investigating.
With the admin rights, you can add several Maven installation:
Next, in your Maven job, you select the relevant version:
So you have to contact your Jenkins admin to solve your pb :)

How to install Jira Subversion plugin and upload source code

it's my first use of my Jira account, and i created a project, and i want to upload source code to a my hosted source control, so i go to plugins and i found only CVS modules why ?
can any one please tell me how to install SVN on my Jira account, and upload my project ?
I am using Hosted solution (source code will be hosted on Jira).
I assume you are talking about JIRA Studio (or OnDemand as they now call it).
Atlassian's hosted solutions are probably not going to make the SVN plugin available ot you because they have a commercial product (FishEye) for that.
The subversion plugin can only be installed manually by dropping the proper jars and class files onthe right places on the server. I doubt they are going to do that for you in a hosted environment. You will probably need to purchase/rent and use FishEye if you want integration with version control.

Resources