I'm trying to develop a plugin for Jenkins using NetBeans, which uses the stapler hudsons Jenkins plugin for Jenkins support. However the version of Jenkins it is using is 1.509 when I need 1.580. Is there a way for me to update the Jenkins version the NetBeans plugin is using?
I guess the only way to tweak it is to download the source and compile the plugin. But honestly this is not useful, since the next (Jekins and/or NetBeans) update will break it again. The best thing to do is write an email to "Jesse Glick", who is the maintainer of the plugin, see: https://github.com/stapler/netbeans-stapler-plugin/graphs/contributors. The email is on the GitHub page.
Related
i want to download sonarqube plugin for teamcity. Documentation says i can download it from TeamCity Server
But how? Where is the zip file? Where can i download it from??
Usually you can expect to find plugins on the TeamCity plugin repository, but for some reason, author decided to put it to official JetBrains Teamcity server.
So, you have to go to teamcity.jetbrains.com, login as guest, select build for your Teamcity version (10.x or 9.x), click on the latest build and switch to artifacts tab, where you can download the zip, containing the plugin.
Here is the link for 10.x plugin for your convenience.
I am trying to use the Sonar-ESQL plugin in IIB V10 for ESQL code scanning. I downloaded the plugin jar file from the website http://www.sonarplugins.com/esql, then added the jar file in the plugin folder for Eclipse and restarted Eclipse. But I dont see any difference in Eclipse. How do I use that plugin? There are no instructions on that site.
Please suggest something. Thank you very much!
The Sonar-ESQL-Plugin is only a plugin for sonarQube.
For a eclipse integration the plugin needs to support SonarLint, which it does not.
To analyse ESQL code you need to install SonarQube, add the ESQL-plugin to it and run the analysis using maven or SonarQube Scanner: https://docs.sonarqube.org/display/SCAN/Analyzing+Source+Code
BTW: The website you used to download the plugin, doesn't provide the latest version. Try to download it for github: https://github.com/EXXETA/sonar-esql-plugin
I have a Jenkins job that is working fine. Now i need to create the Jenkins Plugin bundling the whole functionality of the current Jenkins job.
I know we can create Jenkins job using maven, jelly and java. But I want some easy way of creating the plugin.
Do anyone know any tools that does my requirement.?????
Well, as you already known, in most cases, we develop jenkins plugin using maven & java.
But as an alternative, you can always choose other methods if you you like and here are some:
If you are not good at Java and would like to try develop jenkins plugin in Ruby or Python , you can try:
https://github.com/jenkinsci/jenkins.py/wiki
https://github.com/jenkinsci/jenkins.py/wiki/Getting-Started-With-Python-Plugins
Jenkins Plugin development in Ruby
If you don't like Maven and want to try other build tool like Gradle, then this is for you:
https://wiki.jenkins-ci.org/display/JENKINS/Gradle+JPI+Plugin
Also, I found in CloudBee site there is a way to develop jenkins plugin using only Groovy script,this is super easy and I am sure you will like it.
https://www.cloudbees.com/event/topic/groovy-way-write-jenkins-plugin
Am working on sonar integrated with eclipse using ant
But when i go "right click project-->configure-->associate with sonar" nothing happens!!
My ant version is 1.7.1
Eclipse is Helios(3.6)
sonar version is 3.4.1
Welcome all your favours..........
Sonar Eclipse has nothing to do with Ant, it's really independendent.
You should follow the different steps listed in the documentation page. Most notably, you need to have a Sonar server up and running somewhere (on your local computer or elsewhere) and you must make sure that you already launched an analysis of your project, which you can browse on Sonar Web application. If not, you'll never be able to associate your project in Eclipse.
Once you have a first analysis of your project on the Sonar server, then you need to configure the URL of your server in the Eclipse settings. Only after this, you'll be able to associate your project with Sonar.
This might have to do with your plugin version. As described in the docs Version 3.0 is only compatible with Eclipse 3.7 and up.
I would suggest you either upgrade your eclipse or you downgrade your plugin.
I want to develop and manage my DEV#CloudBees and RUN#CloudBees workspace from Eclipse, for a PlayFramework project, and I will have to work with it from several different PC. I'm using the Cloudbees SVN repository, Jenkins CI solution, database ... everything.
I installed CloudBees and PlayFramework plugins for Eclipse, created my CloudBees account, SVN repository, project, Jenkins Job and database. I've created my Play project, eclipsified it.
I understand and I have tested each component of my targeted working environment but I didn't manage to make them work smoothly together.
1- I've seen some Play modules for CloudBees but it is only for command-line use. Is there a nice Eclipse plugin wrapper for this ?
2- I have some issues writing the build.xml, especially when referencing the PlayFramework libs, because I can not use the local installation as it won't work on Jenkins.
3- How can I deploy to RUN#CloudBees from Eclipse ? If i use the CloudBees plugin, it doesn't package the PlayFramework libs.
4- How can I use the testing features of Play to be integrated in Jenkins ?
I have a lot of questions but it is enough for now :) By the way, PlayFramework is awesome and CloudBees a life-saving work environment.
Thank you for your help.
Contact the support, they are really helpful..and fast!
they do have a plugin for Jenkins, ask to get it installed on your server..I use the command
play auto-test
and it works fine. You'll need some code to check for failures depending on the .failures files. check this link
I received a very quick and efficient answer from Cloudbees support.
It confirms what mericano1 and Ryan said (thanks to them).
The CloudBees Jenkins service let users install some customization plugins like the Play! Framework one !
After adding it to the core configuration, you can add a new build step "Play!" in your job configuration and set the Play! commands you need. For example "clean", then "deps --sync" and finally "auto-test". You can also add the war -o toto.war if you need the binary.
You can check the "Play! auto-test reports" checkbox. You'll have an additional icon "Play! Test Result" in the left menu of the build result page to watch the ... Play test result page (unbelieavable :)).
Still in the job configuration, you can check the "Deploy to CloudBees" features. I didn't tried but I think the Play! libs issues wouldn't be resolved. So, add the cloudbees 0.2.2 plugin in your Play! project dependencies.yml, and you can add the bees:app:deploy command in your build step.
For Eclipse, the CloudBees plugin is fully functionnal, once you have configurated your Jenkins job. But you should stay with the Play! process to develop locally and not the Run DEV#/CloudBees Local.
1) The cloudbees module is only for the command-line. There is no Eclipse plugin (that I know of). However, the command-line is really simple play bees:app:deploy
2) Not sure here
3) Deploying Play Framework Apps is a bit different from deploying J2EE (because of the necessary play war command), thus deploying a Play app to Cloudbees from Eclipse might not be possible. However, see 1).
4) I think there is a Play plugin for Jenkins. I have never used it on/off Cloudbees.
OK, so I provided some help on questions 2 and 4, and unfortunately, the answers may not have been what you hoped. I suggest switching to command-line when it is time to deploy.
In eclipse click on external tools menu and create a new command as noted by Ryan in 1).
then you can simply click on the external tool icon.