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

Using Env variable on Build/Publish docker container

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Major Major
    • 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

          [JENKINS-32702] Using Env variable on Build/Publish docker container

          +1

          Etienne Lachance added a comment - +1

          +1

          George Yermulnik added a comment - +1

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

              Created:
              Updated:
              Resolved: