Coder Social home page Coder Social logo

jenkins.el's People

Contributors

andreyij avatar areina avatar egorenar avatar jaor avatar jonathan-arkell-at-cisco avatar manojm321 avatar purcell avatar rmuslimov avatar syohex avatar vezjakv avatar wilfred avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jenkins.el's Issues

jenkins-hostname expects a trailing slash

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.

A few jobs on several servers

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?

Dmitri

Hi,

It would be nice to use custom port in the URL.

Thanks

gentoo app-emacs/jenkins dependancy issue

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.

Read API token using `auth-source`

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?

Error calling `jenkins-enter-job`

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

JSON read table error

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?

Unable to launch job

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

<title>Error 403 No valid crumb was included in the request</title>

HTTP ERROR 403

Problem accessing /job/manage-pubkeys/build. Reason:

    No valid crumb was included in the request


Powered by Jetty:// 9.4.z-SNAPSHOT

Add support for folders

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.

handle better HTTP authentication

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.

Longer user id makes Authorization header invalid

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)))))

Multibranch pipeline not supported

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 details erroring out

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:

http://jenkins/job/XXX/api/json?depth=1&tree=builds[number,timestamp,result,url,building,culprits[fullName]]

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.

Ability to view jenkins without being logged in

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?

"End of file during parsing"

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.