How can I set an email to be sent upon completion or failure of a job in Concourse?
Concourse and Jenkins X can be primarily classified as "Continuous Integration" tools. "Real pipelines" is the primary reason why developers consider Concourse over the competitors, whereas "Kubernetes integration" was stated as the key factor in picking Jenkins X.
To set up a new pipeline, target your Concourse server with the fly command using the set-pipeline action. We need to pass the name of the new pipeline with -p option and pass the pipeline configuration file with the -c option: fly -t main set-pipeline -p hello_hapi -c ci/pipeline.
A Concourse pipeline is like a distributed, continuous Makefile . Each job has a build plan declaring the job's input resources and what to run with them when they change. Your pipeline is then visualized in the web UI, taking only one click to get from a failed job to seeing why it failed.
You can use https://github.com/pivotal-cf/email-resource along with the on_failure step: https://concourse-ci.org/on-failure-step.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With