Open ljmwaugh opened 6 years ago
Hmmm, that is really strange. That error is only supposed to be thrown if there's no GitHub URL configured for the freestyle job:
I wonder if something has changed in newer versions of the Jenkins GitHub plugin? It's working fine on my own server though.
What version of Jenkins are you using, and what version of the GitHub plugin is installed?
my Jenkins version is Jenkins 2.121.1and the plugin version is GitHub Issues Plugin https://wiki.jenkins-ci.org/display/JENKINS/GitHub+Issues+Plugin This plugin creates GitHub issues when builds fail, and automatically closes the issue when the build starts passing again. 1.2.4 https://iot-watson-edu-jenkins.swg-devops.com/pluginManager/plugin/github-issues/thirdPartyLicenses thanks, Lisa
Lisa Waugh lisa.j.m.waugh@gmail.com
On Wed, Jul 25, 2018 at 2:16 PM Daniel Lo Nigro notifications@github.com wrote:
Hmmm, that is really strange. That error is only supposed to be thrown if there's no GitHub URL configured for the freestyle job:
I wonder if something has changed in newer versions of the Jenkins GitHub plugin? It's working fine on my own server though.
What version of Jenkins are you using, and what version of the GitHub plugin is installed?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jenkinsci/github-issues-plugin/issues/11#issuecomment-407847782, or mute the thread https://github.com/notifications/unsubscribe-auth/AWEjIop27cjd9oqMAbD8d5OZFMsnhdKWks5uKLX6gaJpZM4Ve2fs .
any update?
do you need any additional information?
any update on this? any idea how I can correct this?
Sorry, I haven't had time to look into it. Unfortunately I don't have much free time for open source work these days 😕
There's a GitHub plugin too - What version of that (not the GitHub issues plugin, just the regular Github plugin) do you have?
Have exactly same error for multistage Jenkins jobs. There is no actual Git hub property for this type of job - just Branch sources.
I am stuck at exactly the same problem.
Almost same issue!! I'm getting Could not connect to GitHub repository. Please double-check that you have correctly configured a GitHub API key. The test connection from the Global config works perfectly. Was somebody able to figure out a way out?
@ljmwaugh In the issue repository box of the job, please provide the full path of the repo!! Eg: https://github.com/watson-education/ep-jmeter-tests.git I got the same error & was fixed with the full url. I will open another ticket for my issue.
Seems to be a config issue. Working for me with latest Jenkins and Github plugin.
You need to specify either a job repository under the Github Issues options or a Github Projects url under General settings for the job. Specifying only a repository under Source Control Management isn't enough.
I have tried to complete all the steps identified elsewhere but I'm still not successful.
Here is what I have configured:
In the freestyle job itself:
and
In Jenkins Configuration:
you can see that the credentials verified.
and here is the wtalp access token definition:
What did I miss?