2.3 Pipeline ((vars)) example

You can use params in a pipelines configuration file.

Pipeline Configuration

---
jobs:
  - name: ((first))-job
    public: true
    plan:
      - task: simple-task
        config:
          platform: linux
          image_resource:
            type: registry-image
            source: { repository: busybox }
          run:
            path: echo
            args: ["Hello, ((hello))!"]
  - name: level-((number))-job
    public: true
    plan:
      - task: simple-task
        config:
          platform: linux
          image_resource:
            type: registry-image
            source: { repository: busybox }
          run:
            path: echo
            args: ["Hello, ((hello))!"]

Variables

---
first: initial
number: 9000
hello: HAL

References