github.com/olli-ai/jx/v2@v2.0.400-0.20210921045218-14731b4dd448/pkg/tekton/syntax/test_data/post/jenkins-x.yml (about)

     1  pipelineConfig:
     2    pipelines:
     3      release:
     4        pipeline:
     5          agent:
     6            image: some-image
     7          stages:
     8            - name: A Working Stage
     9              steps:
    10                - command: echo
    11                  args:
    12                    - hello
    13                    - world
    14              post:
    15                - condition: success
    16                  actions:
    17                    - name: mail
    18                      options:
    19                        to: foo@bar.com
    20                        subject: "Yay, it passed"
    21                - condition: failure
    22                  actions:
    23                    - name: slack
    24                      options:
    25                        whatever: the
    26                        slack: config
    27                        actually: "is. =)"
    28                - condition: always
    29                  actions:
    30                    - name: junit
    31                      options:
    32                        pattern: "target/surefire-reports/**/*.xml"