How to use pipeline name in steps

Hello,
I was wondering if something like the following is possible:

kind: pipeline
name: my-pipeline-name
steps:
    - name: print-pipeline-name
      image: docker:stable
      commands:
        - echo <<name>> # desired result -> my-pipeline-name
1 Like