Did you try to write post after stage?

stages {

    stage(‘S1’) {

        agent { label “A” }

        steps {

        <snip>

    }

    post {

       xxx

    }

    stage(‘S2’) {

        agent { label “B” }

        steps {

        <snip>

    }

}

On Thu, Jan 23, 2020 at 10:35 AM 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_ieiVXUnjR6r9F2aKxzU1pwXNwHQrRuuVZQ%2BVO-u4S3c0eg%40mail.gmail.com
> <https://groups.google.com/d/msgid/jenkinsci-users/CAJK_ieiVXUnjR6r9F2aKxzU1pwXNwHQrRuuVZQ%2BVO-u4S3c0eg%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/CAMRm5jZhpfJao659F8bw8GV%2Bz%2Bqh8VQMes-qZGuUCyQkJNacFA%40mail.gmail.com.

Reply via email to