The following plugin provides functionality available through Pipeline-compatible steps. Read more about how to integrate steps into your Pipeline in the Steps section of the Pipeline Syntax page.

For a list of other such plugins, see the Pipeline Steps Reference page.

$class: 'it.dockins.dockerslaves.spec.ContainerSetDefinition'

  • $class: 'it.dockins.dockerslaves.spec.ContainerSetDefinition'
    • buildHostImage
      Docker image used to host the build environment and run build steps. Using this option, you have full control on your build environment to make it fully reproducible and isolated from other builds. You can use arbitrary docker images here, setup with the builds tools required by your job. There's no prerequisites on the docker image as the jenkins infrastructure setup is handled transparently.
        Nested Choice of Objects
      • $class: 'DockerSocketContainerDefinition'
        • hints (optional)
            Array / List of Nested Choice of Objects
          • $class: 'MemoryHint'
            • memory : String
              Define Memory requirements for container format: <number><unit>. Number is a positive integer. Unit can be one of b, k, m, or g. Minimum is 4m.
      • $class: 'DockerfileContainerDefinition'
        • contextPath : String
        • dockerfile : String
        • forcePull : boolean
        • hints (optional)
            Array / List of Nested Choice of Objects
          • $class: 'MemoryHint'
            • memory : String
              Define Memory requirements for container format: <number><unit>. Number is a positive integer. Unit can be one of b, k, m, or g. Minimum is 4m.
      • $class: 'ImageIdContainerDefinition'
        • image : String
        • forcePull : boolean
          Always pull the image before launching the container, to ensure the latest is ran during the build. Usefull if you use a latest image. Will slow down the build, but ensure you always run the up-to-date image.
        • hints (optional)
            Array / List of Nested Choice of Objects
          • $class: 'MemoryHint'
            • memory : String
              Define Memory requirements for container format: <number><unit>. Number is a positive integer. Unit can be one of b, k, m, or g. Minimum is 4m.
    • sideContainers
      Your build can rely on side images to host build resources, like a test database or application server to run the application you are building and testing.
        Array / List of Nested Object
      • name : String
      • spec
          Nested Choice of Objects
        • $class: 'DockerSocketContainerDefinition'
          • hints (optional)
              Array / List of Nested Choice of Objects
            • $class: 'MemoryHint'
              • memory : String
                Define Memory requirements for container format: <number><unit>. Number is a positive integer. Unit can be one of b, k, m, or g. Minimum is 4m.
        • $class: 'DockerfileContainerDefinition'
          • contextPath : String
          • dockerfile : String
          • forcePull : boolean
          • hints (optional)
              Array / List of Nested Choice of Objects
            • $class: 'MemoryHint'
              • memory : String
                Define Memory requirements for container format: <number><unit>. Number is a positive integer. Unit can be one of b, k, m, or g. Minimum is 4m.
        • $class: 'ImageIdContainerDefinition'
          • image : String
          • forcePull : boolean
            Always pull the image before launching the container, to ensure the latest is ran during the build. Usefull if you use a latest image. Will slow down the build, but ensure you always run the up-to-date image.
          • hints (optional)
              Array / List of Nested Choice of Objects
            • $class: 'MemoryHint'
              • memory : String
                Define Memory requirements for container format: <number><unit>. Number is a positive integer. Unit can be one of b, k, m, or g. Minimum is 4m.

  • Was this page helpful?

    Please submit your feedback about this page through this quick form.

    Alternatively, if you don't wish to complete the quick form, you can simply indicate if you found this page helpful?

        


    See existing feedback here.