According to doc this is supported:
https://jenkins.io/doc/book/pipeline/syntax/#post
Syntax is like this
https://code-maven.com/slides/jenkins-intro/pipeline-post

On Thu, Jan 23, 2020 at 11:45 AM David Aldrich <[email protected]>
wrote:

>
> > Did you try to write post after stage?
>
>
> It seems that is not allowed:
>
>
> WorkflowScript: 140: Expected a stage @ line 140, column 9.
>            post{
>            ^
>
>
> On Thu, Jan 23, 2020 at 4:34 PM David Aldrich <
> [email protected]> wrote:
>
>> > try this url
>>
>> > https://Jenkins.io/doc/pipeline/tour/tests-and-artifacts/
>>
>>
>> Thanks, but that doesn't address my situation where I have stages running
>> on different agents and I want to archive results from a specific agent.
>>
>>> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/CAJK_ieg04QKY5270TySAx9yf%3DPkucOrOCQAHM2i8nscK8%3D2moA%40mail.gmail.com
> <https://groups.google.com/d/msgid/jenkinsci-users/CAJK_ieg04QKY5270TySAx9yf%3DPkucOrOCQAHM2i8nscK8%3D2moA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Thanks,
Baibai

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAMRm5ja3Y7neKK2v2%3DcqaVdh4m%3DoAins3%3D9-e6qFs9SVAdjxyQ%40mail.gmail.com.

Reply via email to