Hudson trigget builds remotely gives a forbidden 403 error

Posted by Ritesh M Nayak on Stack Overflow See other posts from Stack Overflow or by Ritesh M Nayak
Published on 2010-04-06T05:37:37Z Indexed on 2010/04/06 5:43 UTC
Read the original article Hit count: 339

I have a shell script on the same machine that hudson is deployed on and upon executing it, it calls wget on a hudson build trigger URL. Since its the same machine, I access it as http://localhost:8080/hudson/job/jobname/build?token=sometoken

Typically, this is supposed to trigger a build on the project. But I get a 403 forbidden when I do this. Anybody has any idea why? I have tried this using a browser and it triggers the build, but via the command line it doesn't seem to work. Any ideas?

© Stack Overflow or respective owner

Related posts about hudson

Related posts about continuous-integration