-
New Feature
-
Resolution: Unresolved
-
Minor
Create a new pipeline a new block called description. The intention is this can be added within a pipeline or stage block to help describe what the pipeline or stage does. The contents of this should also appear in the console logs. I see a lot of people using echo to achieve this now which is fine, but I think have a description block fits in nicely with the concept of declarative pipelines.
pipeline { description { 'CICD pipeline to deploy application' } agent any stages { stage('Build') { description { 'Builds jar file and docker image' } steps { // } } ... } }