Using docker-slaves, the checkout build phase is ran with commands inside the remoting container (which by change has git) not inside the configured build container.

      This is due to git-client to create it's own LocalLauncher vs using the Node's one.

          [JENKINS-30600] git isn't run inside build container

          Nicolas De Loof created issue -
          Nicolas De Loof made changes -
          Remote Link New: This issue links to "Proposed fix (Web Link)" [ 13159 ]
          Rusty Gerard made changes -
          Link New: This issue duplicates JENKINS-21342 [ JENKINS-21342 ]

          git-client plugin do not rely on Launcher/FilePath abstraction but sends the whole GitClient implementation class to remote, making it just impossible to rely on a Launcher from caller. Would need to fully refactor GitClient implementation to run on master.

          Nicolas De Loof added a comment - git-client plugin do not rely on Launcher/FilePath abstraction but sends the whole GitClient implementation class to remote, making it just impossible to rely on a Launcher from caller. Would need to fully refactor GitClient implementation to run on master.

          Nicolas De Loof added a comment - see https://github.com/jenkinsci/git-client-plugin/pull/211
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 165712 ] New: JNJira + In-Review [ 182103 ]
          Jesse Glick made changes -
          Remote Link New: This issue links to "git-client PR 219 (Web Link)" [ 15412 ]
          Jesse Glick made changes -
          Component/s Original: docker-slaves-plugin [ 20839 ]
          Jesse Glick made changes -
          Labels New: docker-slaves
          Jesse Glick made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]

            Unassigned Unassigned
            ndeloof Nicolas De Loof
            Votes:
            25 Vote for this issue
            Watchers:
            38 Start watching this issue

              Created:
              Updated: