Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Related Rants
Need your help guys !
What i am trying to do:
Run a Jenkins job whenever I push my code in my local repo.
(Will lateron link with github but for now local repo)
Current situation:
I have Jenkins installed on my laptop.
I am working on eclipse and have my project shared with git hub.
Process I am doing:
I do some changes in the code and commit and push my code.
Problem:
I have a git hook setup in .git/hooks folder with a post-commit script which runs the below command
curl --user <jenkinsusername>:<password> http://localhost/job/...
The hook works if i push my code via cmdline and the job runs in jenkins.
But when I commit and push through eclipse the job doesn't run on Jenkins.
Need your help guys !!!!
undefined
help me
integration
eclipse
git
jenkins
jenkins ci
help needed