Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to send email via Concourse CI pipeline?

How can I set an email to be sent upon completion or failure of a job in Concourse?

like image 459
prismaticorb Avatar asked Sep 28 '16 15:09

prismaticorb


People also ask

Why is Concourse better than Jenkins?

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.

How to create new pipeline in Concourse?

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.

What is Concourse 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.


1 Answers

You can use https://github.com/pivotal-cf/email-resource along with the on_failure step: https://concourse-ci.org/on-failure-step.html

like image 137
Benedict Dodd Avatar answered Oct 13 '22 08:10

Benedict Dodd