Giter Club home page Giter Club logo

hubot-jenkins's Introduction

#Description: Interact with your Jenkins CI server

#Dependencies: None

#Configuration:

  • HUBOT_JENKINS_URL
  • HUBOT_JENKINS_AUTH

Auth should be in the user:password format.

#Commands:

  • hubot jenkins b - builds the job specified by jobNumber. List jobs to get number.
  • hubot jenkins build - builds the specified Jenkins job
  • hubot jenkins build , - builds the specified Jenkins job with parameters as key=value&key2=value2
  • hubot jenkins list - lists Jenkins jobs
  • hubot jenkins describe - Describes the specified Jenkins job
  • hubot jenkins last - Details about the last build for the specified Jenkins job

hubot-jenkins's People

Contributors

evansolomon avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

hubot-jenkins's Issues

undefined is not a function

When calling jenkins describe, I get the following traceback:

[Thu Jun 11 2015 19:38:38 GMT+0000 (UTC)] ERROR TypeError: undefined is not a function
  at Connector.module.exports.Connector.message (/home/bot/node_modules/hubot-hipchat/src/connector.coffee:230:5, <js>:221:25)
  at HipChat.send (/home/bot/node_modules/hubot-hipchat/src/hipchat.coffee:35:7, <js>:50:38)
  at Response.send (/home/bot/node_modules/hubot/src/response.coffee:22:5, <js>:20:47)
  at /home/bot/node_modules/hubot-jenkins/src/jenkins.coffee:203:13, <js>:212:22
  at IncomingMessage.<anonymous> (/home/bot/node_modules/hubot/node_modules/scoped-http-client/src/index.js:95:22)
  at IncomingMessage.emit (events.js:129:20)
  at _stream_readable.js:908:16
  at process._tickCallback (node.js:355:11)

Any thoughts?

build command returns a 403 403 No valid crumb was included in the request

Using Jenkins 2.19.2, calling a Jenkins build for jobName returns the following

<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>Error 403 No valid crumb was included in the request</title>
</head>
<body><h2>HTTP ERROR 403</h2>
<p>Problem accessing /job/jobName/build. Reason:
<pre>    No valid crumb was included in the request</pre></p><hr><i><small>Powered by Jetty://</small></i><hr/>

</body>
</html>

This seems linked to PR #6 but since there was no answer on this PR, any idea?

Thank you for your help

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.