Add this URL to your Eclipse Installation to reach this solution's update site.
Jenkins editor is just a jenkins build script editor plugin for eclipse
Please look into
Please look into Release history (GitHub)
Unsuccessful Installs in the last 7 Days: 14
By adding the following code below to your website you will be able to add an install button for Jenkins Editor.HTML Code:
Submitted by Christoph Fetzer on Mon, 2020-10-12 13:47
I tried the jenkins linter several times but all I get is 'Jenkins CLI call failed' so my guess it, the plugin forgets to store the credentials from the settings dialog somewhere.
First some information about my setup: I am running a jenkins-server 2.249.2 on a server on my network. In my user settings on jenkins I created an API token. Then I switched to my eclipse (9090-09 with jenkins editor 1.7.0), opened the settings of jenkins editor, checked the jenkins URL, added my user name in 'credentials' and added my API token. Once I pressed 'Test connection' and got the message 'Connection test successful'.
Whatever I do next: press 'apply' first or directly 'apply and close', whenever I try to lint a jenkinsfile all I get is 'Jenkins CLI call failed' with the following message in the details view:
- exitCode:-2 (Linter was not executed at all)
- failureMessage:Access to Jenkins was not possible by command:
java -jar C:\Apps\jenkins-cli\jenkins-cli.jar -s %URL_NOT_ALLOWED_HERE% -http -noCertificateCheck -auth null:******* declarative-linter
Maybe credentials not valid or hostname/firewall problems.
Please check Jenkins CLI setup in preferences
BTW: when I copied the command line java -jar blabla to a cmd window and replaced the pair 'null:****' with my actual user/API-token and pasted a jenkinsfile to the console I got: 'Jenkinsfile successfully validated.'
So my idea about lost settings seems quite valid.
Could you please fix this?
Submitted by Michael Moser on Fri, 2020-07-24 04:03
The Jenkins-Editor works as text editor and does some basic syntax highlighting, but it doesn't seem to "know" or recognize that the Jenkinsfile is actually Groovy code and hence it doesn't provide the corresponding language support.
E.g. when commenting a range it prefixes the text with '#' instead of '//', which produces illgal syntax. I would also have expected that it offers the corresponding support like code completions, variable names when writing expressions, etc. etc.
Is there something one can add or adjust to make that happen?
Submitted by Senthil Kumar on Tue, 2019-09-17 21:29
I'm trying to install the plugin via market place and it's giving me an error saying it's not able to find the context.xml
Submitted by Albert Tregnaghi on Wed, 2019-09-25 19:19
I just tried out with a fresh Eclipse 2019-09 R (4.13.0), Build 20190917-1200 . I installed jenkins editor 1.7.0 by eclipse marketplace. Did work well without any problems. Maybe your problem was a temporary issue at bintray, so please try again.
If there are still any problems, please report an issue at https://github.com/de-jcup/eclipse-jenkins-editor/issues
Submitted by Juan Antonio Farré Basurte on Wed, 2019-03-20 07:43
Does it require or have a dependency with Groovy Eclipse? If it does not, do I still get any advantage from using Groovy Eclipse together wth Jenkins Editor?
Submitted by Albert Tregnaghi on Tue, 2019-03-26 06:30
It does not require groovy eclipse. Jenkins editor has no dependency at all .
Advantages when having groovy eclipse with jenkins : You could try to create library parts in separate .groovy files and include them in jenkinsfile. So you could code groovy parts with eclipse groovy editors and the jenkins part would just do jenkins stuff...
Submitted by Aaron Trionfi on Thu, 2019-01-10 13:36
My company security does not permit installing from Eclipse plug-ins via the Marketplace client. Do you make available a binary to install this plug-in offline? Thanks for any assistance you can provide.
Submitted by Christian Pontesegger on Mon, 2019-01-14 10:06
You can always mirror the p2 site locally, then use a local HTTP server like Mongoose. Then your update server runs localhost.
Submitted by Albert Tregnaghi on Sat, 2019-01-12 08:04
I created an issue at github for this .
The issue is also linked in Wiki. Please read the issue information.
If there are further questions please add those at github issue.
Submitted by Alberto Romero on Mon, 2018-04-09 05:23
I found this useful plug-in for Eclipse and I'd like to know if it would be possible to have support for auto completion and getting documentation of the methods used, e.g., as we're writing our Jenkinsfile, similar to other languages as Java?
Thanks in advance, Alberto.
Submitted by Albert Tregnaghi on Sun, 2018-09-02 21:05
Just released Version 1.4.1 where auto completion and tooltips are integrated.
Best wishes Albert
Submitted by Albert Tregnaghi on Wed, 2018-04-11 04:33
I created an issue at github for this feature: If you have any ideas, questions etc. please login to github and discuss it it at https://github.com/de-jcup/eclipse-jenkins-editor/issues/35.