github-organization-folder-plugin checks out code using HTTPS and not SSH

XMLWordPrintable

      It seems that by default the jobs created by github-organization-folder-plugin do checkout the code using HTTPS and not SSH and there is no (documented) way to tell them to use SSH instead.

      This is important because SSH is the preferred way if you want to push changes back.

      #!groovy
      
      stage 'build'
      node {
          checkout scm
          sh "cat .git/config"
      }
      

            Assignee:
            Kohsuke Kawaguchi
            Reporter:
            Sorin Sbarnea
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: