Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-19463

Jenkins doing nothing after hook, with different git host

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Duplicate
    • Icon: Minor Minor
    • github-plugin
    • None

      If I set

      Repository URL: git@github.com:user/repo.git
      

      GitHub hooks is working perfectly.

      But I have a got some private repos, and I have to create file

      # cat .ssh/config
      Host priv0
          User git
          Hostname github.com
          IdentityFile ~/.ssh/id_rsa.priv0
      
      Host priv1
          User git
          Hostname github.com
          IdentityFile ~/.ssh/id_rsa.priv1
      

      and I set

      Repository URL: priv0:user/repoPrivate0.git

      Unfortunately with this repository url, GitHub hooks is not working.

      Is there advice about that?

            Unassigned Unassigned
            freekode Evgeny
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: