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

Missing docker agent label field.

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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/

        Attachments

          Activity

          There are no comments yet on this issue.

            People

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

              Dates

              • Created:
                Updated:
                Resolved: