Using Env variable on Build/Publish docker container

XMLWordPrintable

    • Type: New Feature
    • Resolution: Fixed
    • Priority: Major
    • Component/s: docker, docker-plugin
    • None

      I have defined build param IMAGE;
      On "Directory for Dockerfile", i want to set ./library/$IMAGE
      But $Image is not resolved

      I have this error:
      Docker Build: building image at path /home/jenkins/workspace/BuildLabsService/library/$IMAGE
      ERROR: Build step failed with exception

      Jenkins 1.625.3
      Docker plugin 0.16.0

            Assignee:
            Nicolas De Loof
            Reporter:
            sébastien glon
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: