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

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

    Details

    • Similar Issues:

      Description

      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'
        ...
      }
      

        Attachments

          Activity

            People

            • Assignee:
              abayer Andrew Bayer
              Reporter:
              pleibiger Peter Leibiger
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: