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

Documentation missing for Declarative dockerfile agent with alternative Dockerfile name

XMLWordPrintable

      Similar to https://issues.jenkins-ci.org/browse/JENKINS-41668

      I'm unable to point Jenkins to my custom dockerfile named "Docker.build". I dont' want to put it in separate directory as it needs to be on top-level to catch some files with COPY and ADD commands.

       

      Ideally i'd be able to do something like:

       

      agent {
        dockerfile {
         name 'Dockerfile.build'
        }
      }

            abayer Andrew Bayer
            sheerun Adam Stankiewicz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: