rmuslimov / jenkins.el Goto Github PK
View Code? Open in Web Editor NEWJenkins plugin for emacs
Jenkins plugin for emacs
The variable jenkins-hostname
gets used in jenkins-jobs-view-url
in a way that assumes it has a slash at the end. This doesn't really match the usual meaning of "hostname", which would be something like jenkins.my-company.com
.
I have to monitor several jobs on several servers. I'm not interested in seeing all jobs of a particular server. As a result, I would like to describe a set of jobs coming from different servers and get an overview of these jobs. Do you have this use case in mind?
I think there should be an option to read credentials from encrypted file.
By pressing 'g' like in the job list view.
Thanks!
Jenkins operations are blocking. We should make it non-blocking
I have some jobs that all start with the same name with a few different letters at the end and they are getting eaten by the ellipsis so it makes it a bit awkward to search for them.
Thanks for jenkins.el btw, I'm using it daily and looks really promising! :)
Hi,
It would be nice to use custom port in the URL.
Thanks
Sorry to post here, please reply for a better location to turn to.
app-emacs/jenkins portage ebuild has a dependency on an app-emacs/json package that doesn't exist.
Thks 4 ur attention.
Would it be possible for jenkins
to use auth-source
to get the API token so that it can be stored encrypted instead of in plaintext in the Emacs configuration?
After updating our Jenkins to Jenkins 2.387.3 and activating user login, I can no longer connect to Jenkins using Jenkins.el.
I get the error message condition-case: JSON readtable error: 60
. I have an API token configured in Jenkins and Emacs.
Ability to configure multiple Jenkins instances and switch between them.
The main status view works for me but when I try to go to a particular job I get this error:
mapcar: Wrong type argument: sequencep, :json-false
Hey there!
Just wanted to let you know that I'm running into a JSON read table error when setting this up with my Jenkins deployment, installed from MELPA.
On Jenkins v1.645.
I've got about ~50 jobs to list and ~20 nodes.
Willing to throw you debug stuff, but not sure what's useful here. Assuming it just doesn't want to parse out a ton of info?
I can do most other actions that require an HTTP request, but I cannot launch a job. Packet trace:
POST /job/manage-pubkeys/build HTTP/1.1
MIME-Version: 1.0
Extension: Security/Digest Security/SSL
Host: openbook-jenkins-master.mon.vzwops.com
Accept-encoding: gzip
Accept-charset: utf-8;q=1, gb2312;q=0.5, iso-8859-1;q=0.5, big5;q=0.5, iso-2022-jp;q=0.5, shift_jis;q=0.5, euc-tw;q=0.5, euc-jp;q=0.5, euc-jis-2004;q=0.5, euc-kr;q=0.5, iso-8859-15;q=0.5, us-ascii;q=0.5, utf-7;q=0.5, hz-gb-2312;q=0.5, big5-hkscs;q=0.5, gbk;q=0.5, gb18030;q=0.5, iso-8859-5;q=0.5, koi8-r;q=0.5, koi8-u;q=0.5, cp866;q=0.5, koi8-t;q=0.5, windows-1251;q=0.5, cp855;q=0.5, iso-8859-2;q=0.5, iso-8859-3;q=0.5, iso-8859-4;q=0.5, iso-8859-9;q=0.5, iso-8859-10;q=0.5, iso-8859-13;q=0.5, iso-8859-14;q=0.5, windows-1250;q=0.5, windows-1252;q=0.5, windows-1254;q=0.5, windows-1257;q=0.5, cp775;q=0.5, cp850;q=0.5, cp852;q=0.5, cp857;q=0.5, cp858;q=0.5, cp860;q=0.5, cp861;q=0.5, cp863;q=0.5, cp865;q=0.5, cp437;q=0.5, macintosh;q=0.5, next;q=0.5, hp-roman8;q=0.5, adobe-standard-encoding;q=0.5, iso-8859-16;q=0.5, iso-8859-7;q=0.5, windows-1253;q=0.5, cp737;q=0.5, cp851;q=0.5, cp869;q=0.5, iso-8859-8;q=0.5, windows-1255;q=0.5, cp862;q=0.5, iso-2022-jp-2004;q=0.5, cp874;q=0.5, iso-8859-11;q=0.5, viscii;q=0.5, windows-1258;q=0.5, iso-8859-6;q=0.5, windows-1256;q=0.5, iso-2022-cn;q=0.5, iso-2022-cn-ext;q=0.5, iso-2022-jp-2;q=0.5, iso-2022-kr;q=0.5, utf-16le;q=0.5, utf-16be;q=0.5, utf-16;q=0.5, x-ctext;q=0.5
Accept: /
User-Agent: URL/Emacs
Cookie: JSESSIONID.05b82c0d=node05zkb3yhhjgal1qwipubu55rac7.node0; HttpOnly=nil
Content-Type: application/x-www-form-urlencoded
Authorization: Basic [auth data retracted]
X-Forwarded-Proto: https
X-Forwarded-For: 10.134.10.212
HTTP/1.1 403 No valid crumb was included in the request
Date: Mon, 12 Mar 2018 20:42:02 GMT
Server: Jetty(9.4.z-SNAPSHOT)
X-Content-Type-Options: nosniff
Cache-Control: must-revalidate,no-cache,no-store
Content-Type: text/html;charset=utf-8
Content-Length: 405
Problem accessing /job/manage-pubkeys/build. Reason:
No valid crumb was included in the request
Currently, folders are not supported supported at all. If you navigate into a folder, jenkins.el treats it as a job that has never been built rather than listing to jobs contained in the folder.
I am not sure whether it is jenkins.el to be blamed or it is url package or it's just my configuration issue. Any help would be appreciated.
We're using jenkins service with kerberos authentication exposed via HTTP(s) authentication. Unfortunately when I use jenkins.el, I am repeatedly asked for credentials for that HTTP authentication.
Not only I am asked for password, but also username to be used.
When email address used as jenkins-username
it will renderAuthorization
header will be invalid since base64 encoded jenkins-username
:jenkins-api-token
introduces newline character.
(base64-encode-string STRING &optional NO-LINE-BREAK)
should pass t
to skip line break.
(defun jenkins--get-auth-headers ()
"Helper function to setup auth header for jenkins url call."
`(("Content-Type" . "application/x-www-form-urlencoded")
("Authorization" .
,(concat
"Basic "
(base64-encode-string
(concat jenkins-username ":" jenkins-api-token) t)))))
As a problem I triggered, you are not able to access a jenkins site with a self signed certificate via https, a fix for that would be nice
Hello,
No idea if this package is still maintained, but here we go anyway.
I tried this plugin, everything works fine as long as we are using standard jobs.
I am using a lot of multibranch pipeline, and jenkins.el doesn't seem to work with them.
The status icon is white in the jenkins view, and the job view is empty.
Is multibranch support on the work ?
Job overview works fine and it list all the jobs, but when I press RET on a job I get the following error:
Debugger entered--Lisp error: (wrong-type-argument listp 104)
Tried to look through jenkins.el
Following is the URL which gets generated:
O/p on my browser:
{"_class":"hudson.model.FreeStyleProject","builds":[{"_class":"hudson.model.FreeStyleBuild","building":false,"number":528,"result":"FAILURE","timestamp":1499910416613,"url":"http://jenkins/job/XXX/528/"},
.......
}`
Let me know if you need more info.
I have a jenkins host that I am not able to authenticate against.
But I can see the jobs, and I want to see the logs.
Is there a way to make this plugin work without an api token or username?
I'm getting "end of file during parsing" when executing M-x jenkins. I tried executing (jenkins-get-jobs-list), but got the same error and no output (after a few seconds of waiting).
I'd like to debug this by issuing the same request as jenkins.el using curl or a REST client, but I'm not sure on how to do it.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.