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

          sébastien glon created issue -
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 168364 ] New: JNJira + In-Review [ 183085 ]

          +1

          Etienne Lachance added a comment - +1

          +1

          George Yermulnik added a comment - +1
          Nicolas De Loof made changes -
          Issue Type Original: Bug [ 1 ] New: New Feature [ 2 ]
          Nicolas De Loof made changes -
          Priority Original: Critical [ 2 ] New: Major [ 3 ]
          Nicolas De Loof made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]

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

              Created:
              Updated:
              Resolved: