• Register
0 votes
836 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
1 answer 38 views
38 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 53 views
53 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 2.3K views
2.3K views
Problem : I have the below problem when I just try to pull code, using my GIT Bash on windows Even after adding/removing the origin I am still facing the same error as below. Fatal: could not read Username for 'https://github.com': No such file or directory
asked Dec 19, 2019 alecxe 7.5k points
0 votes
1 answer 866 views
866 views
Problem : I am working on the project remotely through the command line on the machine to which I don't have the admin rights and after running git push origin master I get the below error message: (gnome-ssh-askpass:29241): Gtk-WARNING **: cannot open ... to host github.com port 22: Connection timed out fatal: The remote end hung up unexpectedly Does anyone have any solution for my issues?
asked Dec 11, 2019 alecxe 7.5k points
0 votes
1 answer 75 views
75 views
Problem : I am currently using the SourceTree and trying to clone it from the general github repository, but I am facing below error: “Fatal: unable to access 'https://github.com/mfitzp/15-minute-apps.git/': error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version Completed with errors, see above.” How can I resolve it?
asked Jan 3, 2020 alecxe 7.5k points
0 votes
1 answer 71 views
71 views
Problem: I think my Jenkins would ssh in and execute the commands described in a specific job which is running. Currently I want to run my Selenium Webdriver tests but unfortunately it informs me that I have many errors while trying to launch the firefox. I am also ... 45000 ms. Firefox console output: [testng] Xlib: connection to ":0.0" refused by server [testng] Xlib: No protocol specified
asked Jul 11, 2020 Raphael Pacheco 4.9k points
0 votes
1 answer 33 views
33 views
Problem: I am naïve to Jenkins. I can run the Jenkins and it is successfully working with the Github account but I am simply unable to get it working properly with the Amazon S3. I have already installed a S3 plugin and if I run my build it successfully uploads to ... up in my root of my S3 account. Is it possible for someone to get my S3 plugin to upload and then retain my folder structure?
asked Aug 5, 2020 Raphael Pacheco 4.9k points
0 votes
1 answer 49 views
49 views
Problem : Whenever I want to copy my 4 files into the bin folder, when I stop the main service, I always face an error with the one particular file (e.g. TexteDll). The error is as follows : Cannot copy TexteDll: The requested operation cannot be performed on a ... may be due to some system locking. Or may be another process is using that DLL. Can someone suggest a cause or solution for this ?.
asked Dec 6, 2019 alecxe 7.5k points