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

Docker compose aliases for declarative pipeline

XMLWordPrintable

      Currently the simplest snippet you can use is this

      step([$class: 'DockerComposeBuilder', dockerComposeFile: 'docker-compose.yml', option: [$class: 'StartAllServices'], useCustomDockerComposeFile: false])

      it would be much nicer to have aliases for the classes and defaults for the arguments

      dockerCompose 'startAllServices'

      or one for each option

      dockerComposeUp()
      dockerComposeDown 'db'
      

            jgalego João Galego
            jameshowe James Howe
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: