Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to configure Cloudbees Jenkins to trigger build on push to Github
    primarykey
    data
    text
    <p>I tried to follow the instructions in this article:</p> <p><a href="http://developer.cloudbees.com/bin/view/DEV/GitHub+Commit+Hooks+HOWTO" rel="nofollow noreferrer">http://developer.cloudbees.com/bin/view/DEV/GitHub+Commit+Hooks+HOWTO</a></p> <p>But I have two problems:</p> <ol> <li><p>It doesn't work. When I push to github nothing happens on the jenkins side. On Jenkins the GitHub Hook log says 'Polling has not run yet.'</p></li> <li><p>The possible cause for this is that I can't specify the git repository as described in this image: </p></li> </ol> <p><img src="https://i.stack.imgur.com/xVGGc.png" alt="enter image description here"></p> <p>There is no textfield for a public key, nor the other fields. Instead I have the fields </p> <pre><code>Repository URL, Name, Refspec </code></pre> <p>Also I can specify a http url (and everything but the triggering works). But if I specify the git/ssh url as in the image I get the following error:</p> <blockquote> <p>Failed to connect to repository : Command "git ls-remote -h git@github.com:schauder/degraph.git HEAD" returned status code 128: stdout: stderr: Warning: Permanently added 'github.com,207.97.227.239' (RSA) to the list of known hosts. Permission denied (publickey). fatal: Could not read from remote repository.</p> <p>Please make sure you have the correct access rights and the repository exists.</p> </blockquote> <p>I copied the url from github so a typo is somewhat unlikely.</p> <p>I verified that I have the github plugin installed (upgraded to version 1.5)</p> <p>Any hints how to fix or at least debug the problem?</p> <p><strong>Update answering questions in the comments:</strong></p> <p>Yes I checked the checkbox 'Build when a change is pushed to GitHub' in the job configuration.</p> <p>And Yes I setup the webhook in GitHub. When I click the test button there, nothing happens. When I put the url from the webhook in my browser I get a http 500 saying </p> <blockquote> <p>Not intended to be browsed interactively (must specify payload parameter)</p> </blockquote> <p>Plus some lengthy stacktrace.</p> <p><strong>Another Update</strong></p> <p>I checked the GIT related plugins installed on the Jenkins side. Everything showing their with GIT in the text is installed and at the most current version</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload