Silas Sewell
Silas Sewell
The last time I looked consul didn't have a dedicated health endpoint (for the agent). I consider the scope of this library to be about the same as the Go...
In the currently published version `0.40.0` the full response is available in the callback interface via the third parameter: ```javascript const consul = require('consul')(); consul.agent.self((err, body, res) => { console.log(res.headers);...
I've generally wanted to avoid adding new dependencies to the project and prefer to just let users configure what they need. Is there any reason that just adding `agentkeepalive` to...
A while back I did a revamp of papi (the HTTP client this library uses) to use a more modern javascript style (await, const, classes, etc...) and I've been meaning...
There is no builtin function, but you can submit the job, get the build id (see https://github.com/silas/node-jenkins/issues/30#issuecomment-238436339), and then query the job until it finishes.
@marisaroque Something like this should work: ``` js const jenkins = require('jenkins')({ baseUrl: 'http://admin:admin@localhost:8080', crumbIssuer: true, promisify: true, }); async function main() { const jobName = 'test'; const queueId =...
@markcellus I guess it depends on what you definition of complete it. it's suppose to poll until it's not building anymore. You can look at the state of `job` at...
This is a pretty light wrapper around the jenkins api, err is basically just an unexpected status code from the api build endpoint, a network error, or invalid input. An...
It's possible you have to handle a 404 from the queue endpoint and retry with some max retry timeout (I've seen issues that report that the queue is guaranteed to...
node-jenkins uses the global https agent by default, so it will validate any certificate that the default node installation does. You can 1) ensure that your installation has validate certificates...