I have a declarative pipeline which looks like this:
pipeline {
stages {...}
post {
success {...}
failure {...}
}
}
It leads to creation of a last step called "Declarative: Post Actions".
Q: How to rename the "Declarative: Post Actions" step?
I would like to have a meaningful name like "Send Email Notifications".

UPDATE:
The names are hardcoded in this class. With the current version of the API (3.44) it is not possible to rename them.
Move post part into a stage.
Stages has post section the same way as the whole pipeline has.
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