Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-39394

Consistent notification usage between stage-level and top level




      We currently have postBuild and notifications sections at the top level of pipeline. It is possible to send notifications in either of them. Notifications in postBuild are sent from a node while notifications within notifications are sent outside of a node. Some plugins like 'email-ext' must be within a node to work and will not work in the notifications section.

      Within a stage we have only a post section but no notifications section. All notifications within a stage must be done in the post block.

      This inconsistency between stage-level settings and top-level settings and support for different plugins creates unneeded complexity in trying to document best practices for usage.

      We should either create a notifications section at the stage level or document how to do notifications with post and postBuild only.

      cc: michaelneale jamesdumay


        Issue Links


            hrmpw Patrick Wolf created issue -
            abayer Andrew Bayer made changes -
            Field Original Value New Value
            Status Open [ 1 ] In Progress [ 3 ]
            abayer Andrew Bayer made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            abayer Andrew Bayer made changes -
            Remote Link This issue links to "PR #45 (Web Link)" [ 15014 ]
            abayer Andrew Bayer made changes -
            Resolution Fixed [ 1 ]
            Status In Review [ 10005 ] Resolved [ 5 ]
            bitwiseman Liam Newman made changes -
            Status Resolved [ 5 ] Closed [ 6 ]


              abayer Andrew Bayer
              hrmpw Patrick Wolf
              0 Vote for this issue
              5 Start watching this issue