• Register
0 votes
966 views

Problem :

This is the very first time that I am using Jenkins and I have gone through the several articles but unable to find any satisfactory answers. We have the .Net project, and we are using our private GitHub repository. Now I want to build CI server with Jenkins.

By default my Jenkins runs on the port 8080. But for the continuous integration to work the Jenkins must receive the notification from GitHub. Our port 8080 is by default blocked from the outside world, and on CI server port 80 is open. So I updated httpport in Jenkins.xml file so now Jenkins is running on port 80.

On the Jenkins’s System Configuration page I can only see the “Git” and “GitHub Plugin Configuration”. I do not see the “GitHub Web Hook” option, and also I can not see the “Let Jenkins auto-manage hook URLs” has this changed in the version 1.646

But I see below error in Jenkins log

Failed to remove hook from GitHubRepositoryName[host=github.com,username=MyCompanyName,repository=reponame] java.lang.NullPointerException: There is no credentials with admin access to manage hooks on GitHubRepositoryName[host=github.com,username=MyCompanyName,repository=reponame] at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:342)

6 5 3
7,540 points

Please log in or register to answer this question.

1 Answer

0 votes

Solution :

Please follow below solution to resolve your issue:

1) Go to your Configure global Security and just uncheck "Allow users to sign up" to prevent the creation of new accounts.

2) Go to your Configure System/Github Plugin Configuration section and just uncheck "Manage hook" if you don't have the admin access or don't want to manage the hooks from Jenkins.

9 7 4
38,600 points

Related questions

0 votes
2 answers 6 views
6 views
Problem: In my GitHub repository and want to add files in a specific folder. So I want to create a new folder. How do I achieve this?
asked Apr 19 Yeamin 22k points
0 votes
1 answer 4 views
4 views
Question: How can I create a new repository from my machine using git bash? I followed the below steps: mkdir ~/Hello-World cd ~/Hello-World git init touch README git add README git commit -m 'first commit' git remote add origin https://github.com/username/Hello-World.git git push origin master But I'm getting "Fatal error: did you run update-server-info on the server? "
asked Apr 18 munim01 21k points
0 votes
1 answer 12 views
12 views
Problem: There is no tracking information for the current branch
asked Mar 19 ummesalma 29.2k points
0 votes
1 answer 14 views
14 views
Problem: Does anyone create a Github page before? Eventually I want to try out Jekyll on it. Thanks
asked Mar 19 ummesalma 29.2k points
0 votes
1 answer 4 views
4 views
Problem: Fatal unable to access ssl certificate problem invalid certificate chain.
asked 6 days ago Ryan evans 1.4k points
0 votes
1 answer 6 views
6 views
Problem: I've cloned a private repo, forked it and made som changes into a feature branch. When I try to push these changes into the repo i get the following message: Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the ... to push with git push --set-upstream origin but it's just showing me the same error. Have anyone of you seen this before?
asked Apr 24 sumaiya simi 43.9k points
0 votes
1 answer 49 views
49 views
Problem : Currently I am trying to use TortoiseGit on Windows. But when I want to Clone from a context menu of my standard Windows Explorer, I face below error: Please make sure you have the correct access rights and the repository exists How can I make my git work properly?
asked Jan 10, 2020 alecxe 7.5k points
0 votes
1 answer 82 views
82 views
Problem : I am trying to use the TortoiseGit on my Windows. But when I want to Clone it from my context menu of the standard Windows Explorer then I face below error: Please make sure you have the correct access rights and the repository exists In more detail the complete snapshot of ... exit cleanly (exit code 128) (21450 ms @ 17.12.2019 10:36:58) What should I do to make my git work correctly ?
asked Dec 19, 2019 alecxe 7.5k points
0 votes
1 answer 8 views
8 views
Problem: Is current branch has no upstream branch.
asked Apr 20 niyatiry 3.9k points
0 votes
1 answer 7 views
7 views
Problem: I'm trying to push one of my projects to github, and I keep getting this error: The current branch master has no upstream branch. Any hints?
asked Mar 21 ummesalma 29.2k points