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

Missing docker agent label field.

XMLWordPrintable

      As I understand it, you can specify a docker agent like below with a label. This option/field is however not available in the blue ocean plugin, as can be seen in the attached images. Same goes for the dockerfile agent.
      agent {
      docker

      { image 'maven:3-alpine' label 'my-defined-label' args '-v /tmp:/tmp' }

      }
      from: https://jenkins.io/doc/book/pipeline/syntax/

            Unassigned Unassigned
            antonblomstrom Anton Blomström
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: