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

No script approval in post actions

    XMLWordPrintable

Details

    Description

      I'm sending mails in post block of a declerative pipeline. I'm using currentBuild.rawBuild.getLog(200) to attach Logs to the Mail. Because of missing approval the pipeline didn't send mail and there was no information why. In the log of the build the mail step was missing. The 'In-process Script Approval' page didn't contain a pending signature. It worked after I added the mail step in a stage and approved the signatures.

      Attachments

        Issue Links

          Activity

            mathias_schulze Mathias Schulze created issue -
            abayer Andrew Bayer made changes -
            Field Original Value New Value
            Component/s pipeline-model-definition-plugin [ 21706 ]
            Component/s pipeline [ 21692 ]
            abayer Andrew Bayer made changes -
            Link This issue duplicates JENKINS-34973 [ JENKINS-34973 ]
            abayer Andrew Bayer made changes -
            Resolution Duplicate [ 3 ]
            Status Open [ 1 ] Resolved [ 5 ]
            bitwiseman Liam Newman made changes -
            Status Resolved [ 5 ] Closed [ 6 ]

            People

              Unassigned Unassigned
              mathias_schulze Mathias Schulze
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: