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

git-client-plugin doesn’t work under NixOS

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Component/s: git-client-plugin
    • Labels:
      None
    • Environment:
      NixOS 16.03
    • Similar Issues:

      Description

      git-client-plugin tries to execute /bin/echo on unix systems.
      On NixOS there is nothing inside the /bin folder except for /bin/sh. So the git-client-plugin fails everytime to execute this command.

      NixOS has a very different approach how to handle dependencies (even coreutils which includes echo). However tools like echo are available in NixOS but in a different location which is added to the PATH environment variable.

      Is there any specific reason why git-client-plugin uses a hard-coded path to the echo binary? For me the problem would be solved when git-client-plugin would rely on echo to be available by including it in PATH.
      If that is not possible I would suggest to change implementation of git-client-plugin to look if /bin/echo exists if not it should fallback to echo.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              lo1tuma Mathias Schreck
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: