cliffano / nestor

Jenkins CLI and node.js client
http://blog.cliffano.com/tag/nestor/
MIT License
182 stars 27 forks source link

Nestor can discover, but not connect to Jenkins #1

Closed victor73 closed 12 years ago

victor73 commented 12 years ago

Note: Replaced real hostname with hostname.example.org

$ node --version v0.6.10

$ nestor discover hostname.example.org Jenkins 1.425 found, running at http://hostname.example.org:8080/jenkins/

$ export JENKINS_URL=http://hostname.example.org:8080/jenkins/ $ nestor dashboard Unexpected status code 404

$ nestor version Unexpected status code 404

$ nestor discover hostname.example.org Jenkins 1.425 found, running at http://hostname.example.org:8080/jenkins/

cliffano commented 12 years ago

Thanks for reporting this, I just pushed the fix to GitHub. Could you please test it out?

git clone http://github.com/cliffano/nestor cd nestor npm link nestor -v (make sure it says v0.0.4)

Then try using nestor. Please let me know if it works/not for you. I'll publish to npm if it's all good.

cliffano commented 12 years ago

After testing the fix on node v0.6.6 and the latest v0.6.10 and it was all ok, I've published nestor v0.0.4 to npm .

So now you only need to reinstall it from npm npm install -g nestor nestor -v (should say v0.0.4) nestor dashboard

Please let me if it works/not.

cliffano commented 12 years ago

Travis CI build failure for 0.6 can be safely ignored, it's caused by sandboxed-module v0.1.2 broken with node 0.6.10 , I already reported this issue https://github.com/felixge/node-sandboxed-module/issues/5

victor73 commented 12 years ago

Works beautifully now. Thanks!

cliffano commented 12 years ago

Cool. Thanks for verifying.