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

Pipeline Model: Add the ability to specify agent parameters (docker)

XMLWordPrintable

      Add the ability to specify custom agent parameters. For example to mount host volumes into a docker container.

      pipeline {
        agent docker:'maven:3.3.3', args:'-v /mnt/dev/repo:/root/.m2/repository'
        ...
      }
      

            abayer Andrew Bayer
            pleibiger Peter Leibiger
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: