2.1 Hello World pipeline

A single job is the simplest form of pipeline.

While this is less of an example pipeline, this is a simple introduction to a critical primitive to form pipelines.

Also, due to the fact that there are minimal external factors (Resources) for the system to check and resolve, this is often used to test overall system health.

Pipeline Configuration

---
jobs:
- name: job
  public: true
  plan:
  - task: simple-task
    config:
      platform: linux
      image_resource:
        type: registry-image
        source: { repository: busybox }
      run:
        path: echo
        args: ["Hello world!"]

References