When I use this plugin to build a docker image it messes up my ADD/COPY statements by not maintaining the symlinks in the directory I am adding.

      I have a directory in workspace/docker/directory and when doing either ADD or COPY in my Dockerfile it seems to loose the symlinks. When I run docker build from the command line with the exact same Dockerfile the symlinks are maintained.

      CentOS 6/rpm
      jenkins 1.647
      openjdk 1.8.0_71
      docker 1.7.1

          [JENKINS-32837] ADD/COPY discard symbolic links

          D T created issue -
          D T made changes -
          Description Original: When I use this plugin to build a docker image it messes up my ADD/COPY statements by not maintaining the symlinks in the directory I am adding.

          I have a directory in workspace/docker/directory and when doing either ADD or COPY in my Dockerfile it seems to loose the symlinks. When I run docker build from the command line with the exact same Dockerfile the symlinks are maintained.
          New: When I use this plugin to build a docker image it messes up my ADD/COPY statements by not maintaining the symlinks in the directory I am adding.

          I have a directory in workspace/docker/directory and when doing either ADD or COPY in my Dockerfile it seems to loose the symlinks. When I run docker build from the command line with the exact same Dockerfile the symlinks are maintained.

          CentOS 6/rpm
          jenkins 1.647
          openjdk 1.8.0_71
          docker 1.7.1
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 168529 ] New: JNJira + In-Review [ 183162 ]

            vjuranek vjuranek
            tenney D T
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: