gitolite and jenkins

9 views
Skip to first unread message

Ron Burgundy

unread,
May 22, 2013, 11:41:15 AM5/22/13
to jenkins...@googlegroups.com
im trying to incorporate jenkins and gitolite functionality together. i've followed these instructions pretty much verbatim 


yet when i add the user jenkins in gitolite it never tells me i actually add the user successfully.

my-comp:gitolite-admin kb$ git commit -m "please work" . ; gitpush
[master f4629d8] please work
 2 files changed, 4 insertions(+), 1 deletion(-)
 create mode 100644 keydir/jenkins.pub
Counting objects: 10, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (5/5), done.
Writing objects: 100% (6/6), 800 bytes, done.
Total 6 (delta 2), reused 0 (delta 0)
To git@repo:gitolite-admin
   26b3219..f4629d8  master -> master

this line NEVER appears: [master ba84830] Added public key for jenkins@* dot com and added jenkins to myproject

(i know it would be different for my project settings) but every time i've added a user successfully i always get a message like this.

the jenkins key is all one line (as it should be) and the ownership and permissions are identical to all my other working keys.

i NEED to run jenkins as a launchdaemon under the jenkins user because i havent figured out any other way to keep jenkins running when my user is logged out.

i dont know if this is a factor but when i initially tried to add the jenkins user i forgot to remove the extra lines of whitespace from the key after pasting it, so when i initially committed with the user it ignored the key because of the whitespace. i tried to remove the key and user, commit again and then re-add and it never worked. so i eventually reverted to the version of the repo prior to adding the jenkins user.

i dont think i reverted properly because my git skills are pathetic.

i did git reset --hard 26b3219d5d66a959462bdb812c133bc2cdcc6981
and then git push origin master --force

i've never been good at reverting and couldnt figure out how to get it to push an old version of the repo to the master, im not sure if this is having an affect on trying to add the user again or what. 

PLEASE HELP!!!
Reply all
Reply to author
Forward
0 new messages