Closed jbsil closed 10 months ago
example config:
on_failure:
do:
- put: teams-prs
attempts: 3
params:
title: FAILED - [pipeline or job name] - $BUILD_JOB_NAME for ((.:pr.title))
text: pr build failed!
actionName: View Pipeline
actionTarget: https://my.concourse.url/teams/$BUILD_TEAM_NAME/pipelines/$BUILD_PIPELINE_NAME/jobs/$BUILD_JOB_NAME/builds/$BUILD_NAME
on_success:
do:
- put: teams-prs
attempts: 3
params:
title: PASSED - [pipeline or job name] - $BUILD_JOB_NAME for ((.:pr.title))
text: pr build passed!
actionName: View Pipeline
actionTarget: https://my.concourse.url/teams/$BUILD_TEAM_NAME/pipelines/$BUILD_PIPELINE_NAME/jobs/$BUILD_JOB_NAME/builds/$BUILD_NAME
and the results:
related to #25
.jq
template file. you can use https://adaptivecards.io/designer/ to adjust the "content" section visually.title
ortext
content.style
paramapt-get
s into separate, earlier,RUN
statement to take better advantage ofdocker build
caching (for faster iterations).